This commit is contained in:
Daryl Ronningen 2023-12-08 12:16:48 -08:00
parent d00c5ab37f
commit 0008195f1b
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2023-12-08 Daryl Ronningen <relms@relms.dev>
* Add fPIC to cflags
2023-12-08 Daryl Ronningen <relms@relms.dev> 2023-12-08 Daryl Ronningen <relms@relms.dev>
* Updated argp to glibc 2.38 * Updated argp to glibc 2.38

View file

@ -4,7 +4,7 @@ dnl This configure.ac is only for building a standalone argp library.
AC_PREREQ([2.71]) AC_PREREQ([2.71])
AC_INIT AC_INIT
AC_CONFIG_SRCDIR([argp-ba.c]) 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) AM_CONFIG_HEADER(config.h)
# GNU libc defaults to supplying the ISO C library functions only. The # 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 \ CFLAGS="$CFLAGS -Wall -W \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Waggregate-return \ -Waggregate-return \
-Wpointer-arith -Wbad-function-cast -Wnested-externs" -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC"
fi fi
CPPFLAGS="$CPPFLAGS -I$srcdir" CPPFLAGS="$CPPFLAGS -I$srcdir"