Add fPIC
This commit is contained in:
parent
d00c5ab37f
commit
0008195f1b
2 changed files with 8 additions and 4 deletions
|
@ -1,7 +1,11 @@
|
||||||
2023-12-08 Daryl Ronningen <relms@relms.dev>
|
2023-12-08 Daryl Ronningen <relms@relms.dev>
|
||||||
|
|
||||||
* Updated argp to glibc 2.38
|
* Add fPIC to cflags
|
||||||
* configure.ac: Bumped version to 1.6.0.
|
|
||||||
|
2023-12-08 Daryl Ronningen <relms@relms.dev>
|
||||||
|
|
||||||
|
* Updated argp to glibc 2.38
|
||||||
|
* configure.ac: Bumped version to 1.6.0.
|
||||||
|
|
||||||
2021-02-10 Érico Nogueira <ericonr@disroot.org>
|
2021-02-10 Érico Nogueira <ericonr@disroot.org>
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue