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
|
CFLAGS = -Wall
|
||||||
LOADLIBES = -ldl
|
LOADLIBES = -ldl
|
||||||
|
|
||||||
gcc-glibmm-abi-check:
|
gcc-glibmm-abi-check: abicheck.c
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) \
|
$(CC) $(CPPFLAGS) $(CFLAGS) \
|
||||||
-o gcc-glibmm-abi-check \
|
-o gcc-glibmm-abi-check \
|
||||||
abicheck.c \
|
abicheck.c \
|
||||||
|
@ -235,7 +235,7 @@ esac
|
|||||||
###################
|
###################
|
||||||
|
|
||||||
if test -n "$MULTABI_BUNDLE"; then
|
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
|
ABI=-gcc4
|
||||||
else
|
else
|
||||||
ABI=-gcc5
|
ABI=-gcc5
|
||||||
|
Loading…
Reference in New Issue
Block a user