X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=bbed6da35c940ded82375f051af5c9e6242e4e18;hb=97a69ea53c90c6141e692cf77b3202df989eb505;hp=afe8e4d0298370ff7d8b5428651651d42148718e;hpb=298b318acaf1147474ab9e97cac37c3608660efd;p=rrdtool.git diff --git a/configure.ac b/configure.ac index afe8e4d..bbed6da 100644 --- a/configure.ac +++ b/configure.ac @@ -261,7 +261,7 @@ if test "x$GCC" = "xyes"; then fi dnl add pic flag in any case this makes sure all our code is relocatable -CFLAGS="$CFLAGS "`grep pic_flag= libtool | sed -e 's/.*pic_flag=//' -e 's/"//g'` +CFLAGS="$CFLAGS "`grep pic_flag= libtool | head -1|sed -e 's/.*pic_flag=//' -e 's/"//g'` ZLIB_CFLAGS=$CFLAGS dnl it seems that hpux chockes on -fPIC for some reason