summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/gmake/compiler.mk4
-rw-r--r--makefiles/gmake/libs.mk9
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