Browse Source

build fix for Solaris Studio11 compiler

Noriko Hosoi 19 years ago
parent
commit
77c0f33bf9
1 changed files with 5 additions and 0 deletions
  1. 5 0
      nsconfig.mk

+ 5 - 0
nsconfig.mk

@@ -1138,6 +1138,11 @@ else
   ARCH_CFLAGS += -m64
 endif
 endif
+ifdef NS_USE_NATIVE
+  ARCH_CFLAGS += -KPIC
+else
+  ARCH_CFLAGS += -fPIC
+endif
 ARCH_DEBUG=-g
 RANLIB=true