summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown2023-01-22 17:15:55 +0100
committerMichael Brown2023-01-22 17:19:22 +0100
commit2ef5f5e05efa3ab29a207b6641b0ac6afefd3f0b (patch)
tree8c1e014cd11b0d4d4eb96b4fd7ce18c211a27d80 /src/Makefile.housekeeping
parent[linux] Centralise the linker script for Linux binaries (diff)
downloadipxe-2ef5f5e05efa3ab29a207b6641b0ac6afefd3f0b.tar.gz
ipxe-2ef5f5e05efa3ab29a207b6641b0ac6afefd3f0b.tar.xz
ipxe-2ef5f5e05efa3ab29a207b6641b0ac6afefd3f0b.zip
[build] Move -Ulinux to common Makefile
The requirement to undo the implicit "-Dlinux" is not specific to the x86 architecture. Move this out of the x86-specific Makefile. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 658b84b6..f3258025 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -512,6 +512,10 @@ CFLAGS += -include include/compiler.h
#
CFLAGS += -DASM_TCHAR='$(ASM_TCHAR)' -DASM_TCHAR_OPS='$(ASM_TCHAR_OPS)'
+# Inhibit the default -Dlinux
+#
+CFLAGS += -Ulinux
+
# CFLAGS for specific object types
#
CFLAGS_c +=