diff options
author | Guenter Knauf <lists@gknw.net> | 2011-02-17 11:46:41 +0100 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2011-02-17 11:46:41 +0100 |
commit | 827f0a318cdbf73800c2366cf6a3132f2b2a7c49 (patch) | |
tree | ce8f2aa108babe5fd5b4595669da8c04b6a041c8 /src/Makefile.netware | |
parent | b66eeb8bf82b73022184b6cd7efbc61185645e30 (diff) |
Set -fpcc-struct-return only for gcc compiler.
Diffstat (limited to 'src/Makefile.netware')
-rw-r--r-- | src/Makefile.netware | 5 |
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) |