]> git.meshlink.io Git - catta/commitdiff
always build with -fPIC to allow address space randomization
authorLennart Poettering <lennart@poettering.net>
Thu, 12 Apr 2007 21:27:29 +0000 (21:27 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 12 Apr 2007 21:27:29 +0000 (21:27 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1410 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

configure.ac

index f127648e96c8556a23ba98da45a8fdb969b83e9a..58b5951148eeec339f5d1a64a5c8d9b499d24fef 100644 (file)
@@ -219,7 +219,7 @@ test_gcc_flag() {
 # If using GCC specify some additional parameters
 if test "x$GCC" = "xyes" ; then
 
-    DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline"
+    DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -fPIC"
 
     if test "x$HAVE_NETLINK" = "xyes" ; then
         # Test whether rtnetlink.h can be included when compiled with -std=c99