aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/Makefile.netware2
-rw-r--r--lib/Makefile.netware2
-rw-r--r--src/Makefile.netware2
3 files changed, 3 insertions, 3 deletions
diff --git a/ares/Makefile.netware b/ares/Makefile.netware
index 1d77e9597..5ce895786 100644
--- a/ares/Makefile.netware
+++ b/ares/Makefile.netware
@@ -88,7 +88,7 @@ LD = nlmconv
LDFLAGS = -T
AR = ar
ARFLAGS = -cq
-CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return
+CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing
CFLAGS += -Wall -Wno-format # -pedantic
ifeq ($(LIBARCH),LIBC)
PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 0a4da893e..afd9ce71a 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -93,7 +93,7 @@ LD = nlmconv
LDFLAGS = -T
AR = ar
ARFLAGS = -cq
-CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return
+CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing
CFLAGS += -Wall # -pedantic
ifeq ($(LIBARCH),LIBC)
PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 5a84ff40d..d3d14fdfc 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -90,7 +90,7 @@ endif
else
LD = nlmconv
LDFLAGS = -T
-CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return
+CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing
CFLAGS += -Wall # -pedantic
ifeq ($(LIBARCH),LIBC)
PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o