summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_linux_pthread.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_linux_pthread.GNU')
-rw-r--r--include/makeinclude/platform_linux_pthread.GNU4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/makeinclude/platform_linux_pthread.GNU b/include/makeinclude/platform_linux_pthread.GNU
index 8939d2a246f..52d8045787f 100644
--- a/include/makeinclude/platform_linux_pthread.GNU
+++ b/include/makeinclude/platform_linux_pthread.GNU
@@ -10,15 +10,17 @@
# Jan Rychter <jwr@icm.edu.pl>
debug = 1
+optimize = 1
CC = gcc
CXX = g++
-CFLAGS += -w -O2 -fno-strict-prototypes -D_MIT_POSIX_THREADS -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS
+CFLAGS += -w -fno-strict-prototypes -D_MIT_POSIX_THREADS -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS
CCFLAGS += $(CFLAGS) -fno-implicit-templates
DCFLAGS += -g
DLD = $(CXX)
LD = $(CXX)
LIBS += -lpthreads
+OCFLAGS += -O2
PIC = -fPIC
AR = ar
ARFLAGS = ruv