if we can't determine the gcc4/5 prefer the new gcc5 ABI
This commit is contained in:
parent
34290320f6
commit
388a8fc9be
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user