freeglut: build with -fcommon

%ci:no-build
This commit is contained in:
Leonid Pliushch 2021-10-25 16:49:22 +03:00 committed by Yaksh Bariya
parent a589488f47
commit e6ce53e703
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 4 additions and 0 deletions

View File

@ -8,3 +8,7 @@ TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/freeglut/freeglut-$TERMUX_PK
TERMUX_PKG_SHA256=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
TERMUX_PKG_DEPENDS="glu, libxi, libxrandr, mesa"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
CFLAGS+=" -fcommon"
}