diff options
author | Harald Koerfgen <hkoerfg@web.de> | 2000-03-28 18:06:35 +0000 |
---|---|---|
committer | Harald Koerfgen <hkoerfg@web.de> | 2000-03-28 18:06:35 +0000 |
commit | aec775ee41ed8129eaa8bd46fcfb1b9e8e42b561 (patch) | |
tree | 1a12b3f45eb14a857ee8a83545d492864846aa9b /Makefile | |
parent | ec8daef41c83eb1d0d8bfc4b51a99f9216aab13b (diff) |
Makefile fixed for a crosscompiling environment
DECstation serial drivers fixed
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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: |