equal
deleted
inserted
replaced
|
1 Adjust the CFLAGS in the Solaris Studio Makefile to not include build |
|
2 options like '-fast' and '-lpthread', use -D_REENTRANT instead of -mt |
|
3 and to not set a run path. |
|
4 |
|
5 --- pbzip2-1.1.6/Makefile.solaris.sunstudio.orig 2013-03-18 08:53:39.894869460 -0700 |
|
6 +++ pbzip2-1.1.6/Makefile.solaris.sunstudio 2013-03-18 10:37:02.531235184 -0700 |
|
7 @@ -4,11 +4,12 @@ |
|
8 # Compiler to use |
|
9 CC=CC |
|
10 CFLAGS = -m64 |
|
11 -CFLAGS += -fast -xO5 |
|
12 +CFLAGS += -xO5 |
|
13 |
|
14 #CFLAGS += -Wall |
|
15 #CFLAGS += -g |
|
16 -CFLAGS += -mt -lpthread |
|
17 +CFLAGS += -D_REENTRANT |
|
18 +CFLAGS += -norunpath |
|
19 |
|
20 # Comment out CFLAGS line below for compatability mode for 32bit file sizes |
|
21 # (less than 2GB) and systems that have compilers that treat int as 64bit |
|
22 @@ -30,7 +31,6 @@ |
|
23 |
|
24 # Libraries |
|
25 LDFLAGS = -lbz2 |
|
26 -LDFLAGS += -lpthread |
|
27 |
|
28 # Where you want pbzip2 installed when you do 'make install' |
|
29 PREFIX = /usr |