diff --git a/Makefile.Linux b/Makefile.Linux index 83c5dc7..6071941 100644 --- a/Makefile.Linux +++ b/Makefile.Linux @@ -10,11 +10,11 @@ BUILDDIR = CC = gcc -CFLAGS = -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL +CFLAGS = -g -O2 -fno-strict-aliasing -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL COUT = -o LN = gcc DCFLAGS = -fpic -LDFLAGS = -O2 -pthread +LDFLAGS = -O2 -fno-strict-aliasing -pthread DLFLAGS = -shared DLSUFFICS = .ld.so # -lpthreads may be reuqired on some platforms instead of -pthreads