Add fPIC
This commit is contained in:
parent
d00c5ab37f
commit
0008195f1b
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2023-12-08 Daryl Ronningen <relms@relms.dev>
|
||||
|
||||
* Add fPIC to cflags
|
||||
|
||||
2023-12-08 Daryl Ronningen <relms@relms.dev>
|
||||
|
||||
* Updated argp to glibc 2.38
|
||||
|
|
|
@ -4,7 +4,7 @@ dnl This configure.ac is only for building a standalone argp library.
|
|||
AC_PREREQ([2.71])
|
||||
AC_INIT
|
||||
AC_CONFIG_SRCDIR([argp-ba.c])
|
||||
AM_INIT_AUTOMAKE(argp, standalone-1.6.0)
|
||||
AM_INIT_AUTOMAKE(argp, standalone-1.6.1)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
# GNU libc defaults to supplying the ISO C library functions only. The
|
||||
|
@ -95,7 +95,7 @@ if test x$GCC = xyes ; then
|
|||
CFLAGS="$CFLAGS -Wall -W \
|
||||
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
|
||||
-Waggregate-return \
|
||||
-Wpointer-arith -Wbad-function-cast -Wnested-externs"
|
||||
-Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC"
|
||||
fi
|
||||
|
||||
CPPFLAGS="$CPPFLAGS -I$srcdir"
|
||||
|
|
Loading…
Reference in a new issue