summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-03-28 18:06:35 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-03-28 18:06:35 +0000
commitaec775ee41ed8129eaa8bd46fcfb1b9e8e42b561 (patch)
tree1a12b3f45eb14a857ee8a83545d492864846aa9b /Makefile
parentec8daef41c83eb1d0d8bfc4b51a99f9216aab13b (diff)
Makefile fixed for a crosscompiling environment
DECstation serial drivers fixed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8558b0ef3..4c60cd612 100644
--- a/Makefile
+++ b/Makefile
@@ -86,11 +86,6 @@ endif
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
AFLAGS := $(CPPFLAGS)
-# use '-fno-strict-aliasing', but only if the compiler can take it
-CFLAGS += $(shell if $(CC) -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-fno-strict-aliasing"; fi)
-
-export CPPFLAGS CFLAGS AFLAGS
-
#
# ROOT_DEV specifies the default root-device when making the image.
# This can be either FLOPPY, CURRENT, /dev/xxxx or empty, in which case
@@ -178,6 +173,11 @@ DRIVERS += $(DRIVERS-y)
include arch/$(ARCH)/Makefile
+# use '-fno-strict-aliasing', but only if the compiler can take it
+CFLAGS += $(shell if $(CC) -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-fno-strict-aliasing"; fi)
+
+export CPPFLAGS CFLAGS AFLAGS
+
export NETWORKS DRIVERS LIBS HEAD LDFLAGS LINKFLAGS MAKEBOOT ASFLAGS
.S.s: