13
0

if we can't determine the gcc4/5 prefer the new gcc5 ABI

This commit is contained in:
Robin Gareus 2016-08-02 15:50:16 +02:00
parent 34290320f6
commit 388a8fc9be
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
CFLAGS = -Wall
LOADLIBES = -ldl
gcc-glibmm-abi-check:
gcc-glibmm-abi-check: abicheck.c
$(CC) $(CPPFLAGS) $(CFLAGS) \
-o gcc-glibmm-abi-check \
abicheck.c \

View File

@ -235,7 +235,7 @@ esac
###################
if test -n "$MULTABI_BUNDLE"; then
if ! ${NORM_USER} "${PKG_PATH}/.gcc-glibmm-abi-check --gcc5 > /dev/null"; then
if ${NORM_USER} "${PKG_PATH}/.gcc-glibmm-abi-check --fail --gcc4 > /dev/null"; then
ABI=-gcc4
else
ABI=-gcc5