Fix build on other targets.

Update regressions.build.in to use PTHREAD_CFLAGS.
ck_pring
Samy Al Bahra 14 years ago
parent 49a2820000
commit a89f89c033

@ -3,6 +3,6 @@ MAKE=make
CFLAGS=@CFLAGS@ -I../../../include
LD=@LD@
LDFLAGS=@LDFLAGS@
PTHREADS_LDFLAGS=@PTHREADS_CFLAGS@
PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
include ../../../build/ck.build.@PROFILE@

5
configure vendored

@ -353,10 +353,7 @@ if test "$COMPILER" = "suncc"; then
elif test "$COMPILER" = "gcc"; then
LD=$CC
LDFLAGS="-shared -fPIC"
CFLAGS="-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -std=gnu99 -pedantic -Wall -W -Wundef" \
"-Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align" \
"-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs" \
"-Winline -Wdisabled-optimization -fstrict-aliasing -O2 -pipe -Wno-parentheses"
CFLAGS="-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -std=gnu99 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -fstrict-aliasing -O2 -pipe -Wno-parentheses"
PTHREAD_CFLAGS="-pthread"
else
assert "" "unknown compiler"

Loading…
Cancel
Save