ncurses : add -fPIC to build flags.

Without this, bison (required for qt5 build) will not build properly.
This commit is contained in:
longchair 2016-04-11 16:00:34 +02:00
parent cead6d4b5f
commit f492bf1ee9

View File

@ -80,6 +80,7 @@ PKG_CONFIGURE_OPTS_TARGET="--without-ada \
pre_configure_target() {
# causes some segmentation fault's (dialog) when compiled with gcc's link time optimization.
strip_lto
CFLAGS="$CFLAGS -fPIC"
}
post_makeinstall_target() {