diff --git a/build/regressions.build.in b/build/regressions.build.in index bd845ea..402eef6 100644 --- a/build/regressions.build.in +++ b/build/regressions.build.in @@ -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@ diff --git a/configure b/configure index 8335586..1b8a44b 100755 --- a/configure +++ b/configure @@ -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"