2018-08-30 15:06:57 +02:00
|
|
|
Index: Makefile.inc.in
|
|
|
|
===================================================================
|
|
|
|
--- Makefile.inc.in.orig 2018-07-10 00:06:51.000000000 +0200
|
|
|
|
+++ Makefile.inc.in 2018-08-29 16:34:31.015394700 +0200
|
|
|
|
@@ -29,7 +29,7 @@ CXXFLAGS = @CXXFLAGS@
|
2015-07-02 16:39:02 +02:00
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
CFLAGS_DEP = -MMD -MP
|
|
|
|
LIBS = @LIBS@
|
|
|
|
-LDFLAGS = @LDFLAGS@
|
|
|
|
+LDFLAGS = @LDFLAGS@ -pthread
|
|
|
|
INSTALL_FLAGS = -m 644
|
|
|
|
LIB_SHARED_LINK = -shared -Wl,-soname -Wl,$(LIB_SHARED_FULL)
|
2018-08-30 15:06:57 +02:00
|
|
|
LIB_SHARED_LINK_OSX = -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -compatibility_version $(LIB_VERSION) -current_version $(LIB_VERSION) -Wl,-single_module -mmacosx-version-min=10.8 -install_name ${CURDIR}/$(LIB_SHARED_FULL)
|
|
|
|
Index: configure.ac
|
|
|
|
===================================================================
|
|
|
|
--- configure.ac.orig 2018-07-10 00:06:51.000000000 +0200
|
|
|
|
+++ configure.ac 2018-08-29 16:36:51.024739116 +0200
|
|
|
|
@@ -136,7 +136,7 @@ AS_IF([test x$enable_compiler_flags != x
|
|
|
|
CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter -std=gnu99 -pipe -g"
|
|
|
|
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -pipe -g"
|
|
|
|
AC_CXX_FLAG([-std=c++11])
|
|
|
|
- AC_CXX_FLAG([-Wno-c++11-narrowing])
|
|
|
|
+ AC_CXX_FLAG([-Wno-narrowing])
|
|
|
|
AC_C_FLAG([-Wno-unused-local-typedefs])
|
|
|
|
AC_CXX_FLAG([-Wno-unused-local-typedefs])
|
|
|
|
|