]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | ###################################################################### |
2 | #BEGIN Machine dependent Makefile fragment for i386 | |
3 | ###################################################################### | |
4 | ||
5 | CFLAGS+= -DAT386=1 | |
6 | SFLAGS+= -DAT386=1 | |
7 | ||
91447636 | 8 | # Enable -Werror for i386 builds |
b0d623f7 | 9 | CFLAGS+= $(WERROR) -Wshorten-64-to-32 |
91447636 A |
10 | CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) |
11 | ||
12 | # Objects that don't compile cleanly: | |
13 | OBJS_NO_WERROR= \ | |
91447636 | 14 | UNDRequest.o \ |
2d21ac55 A |
15 | db_macro.o \ |
16 | db_print.o \ | |
17 | db_sym.o \ | |
18 | db_variables.o \ | |
19 | db_disasm.o \ | |
20 | db_interface.o \ | |
21 | db_trace.o \ | |
b0d623f7 | 22 | gssd_mach.o |
91447636 A |
23 | |
24 | OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) | |
25 | ||
26 | $(OBJS_WERROR): WERROR=-Werror | |
27 | ||
91447636 | 28 | # Files that must go in the __HIB segment: |
2d21ac55 | 29 | UNCONFIGURED_HIB_FILES= \ |
b0d623f7 A |
30 | hibernate_restore.o |
31 | ||
2d21ac55 | 32 | HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS)) |
91447636 | 33 | |
1c79356b A |
34 | ###################################################################### |
35 | #END Machine dependent Makefile fragment for i386 | |
36 | ###################################################################### |