xorg-server: build with -fcommon -fPIC
%ci:no-build
This commit is contained in:
parent
e51e6ac3dc
commit
a589488f47
@ -61,8 +61,8 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||||||
LIBS=-landroid-shmem"
|
LIBS=-landroid-shmem"
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
CFLAGS+=" -DFNDELAY=O_NDELAY -Wno-int-to-pointer-cast"
|
CFLAGS+=" -fcommon -fPIC -DFNDELAY=O_NDELAY -Wno-int-to-pointer-cast"
|
||||||
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/libdrm"
|
CPPFLAGS+=" -fcommon -fPIC -I${TERMUX_PREFIX}/include/libdrm"
|
||||||
|
|
||||||
if [ "$TERMUX_DEBUG_BUILD" = "true" ]; then
|
if [ "$TERMUX_DEBUG_BUILD" = "true" ]; then
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug"
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug"
|
||||||
|
Loading…
Reference in New Issue
Block a user