components/p7zip/makefile.solaris
branchs11u3-sru
changeset 6734 ea93ede4968e
parent 138 089c2065503f
--- a/components/p7zip/makefile.solaris	Wed Sep 07 00:15:35 2016 -0700
+++ b/components/p7zip/makefile.solaris	Wed Jul 27 11:32:28 2016 -0700
@@ -20,30 +20,25 @@
 #
 
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
-OPTFLAGS=-O
+OPTFLAGS=-O -s
 
 LFS_CFLAGS = $(shell getconf LFS_CFLAGS)
 
-ALLFLAGS=${OPTFLAGS} -s -mt \
+ALLFLAGS=${OPTFLAGS} -m64 \
         -DHAVE_LONG_LONG \
         $(LFS_CFLAGS) \
         -DENV_UNIX \
         -DNDEBUG -D_REENTRANT \
+        -D_7ZIP_LARGE_PAGES \
         $(LOCAL_FLAGS)
 
-CXX=CC $(ALLFLAGS)
-CC=cc $(ALLFLAGS)
-CC_SHARED=-KPIC
-LINK_SHARED=-KPIC -G
-LDFLAGS = -norunpath
-
-LOCAL_LIBS=-lpthread
-LOCAL_LIBS_DLL=$(LOCAL_LIBS)
-
-../../../../bin/Codecs/Rar29.so ../../../../bin/7z.so : LOCAL_LIBS += -lCrun
+CXX=g++
+CC=gcc
+CC_SHARED=-fPIC
+LINK_SHARED=-fPIC -shared
 
 OBJ_CRC32=$(OBJ_CRC32_C)