aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.netware
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.netware')
-rw-r--r--src/Makefile.netware5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index ebfbcb5f0..b801f3be0 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -141,7 +141,10 @@ LD = nlmconv
LDFLAGS = -T
LIBEXT = a
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)