aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.netware5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 642f051d6..a4f6ebb65 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -146,7 +146,10 @@ ARFLAGS = -cq
LIBEXT = a
RANLIB = ranlib
CFLAGS += -m32
-CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing
+CFLAGS += -fno-builtin -fno-strict-aliasing
+ifeq ($(findstring gcc,$(CC)),gcc)
+CFLAGS += -fpcc-struct-return
+endif
CFLAGS += -Wall # -pedantic
ifeq ($(LIBARCH),LIBC)
ifeq ($(POSIXFL),1)