diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-06-06 22:02:56 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-06-06 22:02:56 +0200 |
commit | cd1d6378a2b53021b0be2b17eca63d7c47931822 (patch) | |
tree | 4cffdc60100cdf81dde0c3402008e6dd641a8bad /makefiles | |
parent | f7869fb25b4e43f3c3ee0fe956de6d65c8d8de62 (diff) | |
download | wolfbones-cd1d6378a2b53021b0be2b17eca63d7c47931822.tar.gz wolfbones-cd1d6378a2b53021b0be2b17eca63d7c47931822.tar.bz2 |
fixed pcc on linux (gengetopt and generated code, __attribute__ infection of header files)
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/gmake/compiler.mk | 4 | ||||
-rw-r--r-- | makefiles/gmake/libs.mk | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/makefiles/gmake/compiler.mk b/makefiles/gmake/compiler.mk index aab45d2..08677a5 100644 --- a/makefiles/gmake/compiler.mk +++ b/makefiles/gmake/compiler.mk @@ -207,9 +207,11 @@ endif ifeq "$(COMPILER)" "pcc" COMPILE_FLAGS = \ - --fatal-warnings + --fatal-warnings -g endif +CCPP = pcc + # end of pcc section # set flags for threading support using POSIX threads. This is completly different diff --git a/makefiles/gmake/libs.mk b/makefiles/gmake/libs.mk index c8f77a6..cf0ad08 100644 --- a/makefiles/gmake/libs.mk +++ b/makefiles/gmake/libs.mk @@ -10,11 +10,14 @@ # ifeq "$(PLATFORM)" "LINUX" -ifeq "$(COMPILER)" "gcc" -SO_FLAGS = -shared -Wl,-soname,$(DYNAMIC_LIB).$(DYNAMIC_LIB_MAJOR) -endif ifeq "$(COMPILER)" "tcc" SO_FLAGS = -shared +else +ifeq "$(COMPILER)" "pcc" +SO_FLAGS = -shared -Wl,-soname,$(DYNAMIC_LIB).$(DYNAMIC_LIB_MAJOR) +else +SO_FLAGS = -shared -Wl,-soname,$(DYNAMIC_LIB).$(DYNAMIC_LIB_MAJOR) +endif endif endif |