diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-14 13:02:48 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-15 14:18:01 +0200 |
commit | b948c9371b2bce7b5c3ca5812cc4b9d9a02b49b9 (patch) | |
tree | 785c6f3a258fcda02c264ffda69856ecfc0abef6 /package/libs/uclibc++/Makefile | |
parent | 445604a915e8ed4669b3ef3c622259c7ca0081c1 (diff) | |
download | upstream-b948c9371b2bce7b5c3ca5812cc4b9d9a02b49b9.tar.gz upstream-b948c9371b2bce7b5c3ca5812cc4b9d9a02b49b9.tar.bz2 upstream-b948c9371b2bce7b5c3ca5812cc4b9d9a02b49b9.zip |
uclibc++: fix build with gcc 6.1.0, which defaults to using C++14 ABI
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/libs/uclibc++/Makefile')
-rw-r--r-- | package/libs/uclibc++/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/libs/uclibc++/Makefile b/package/libs/uclibc++/Makefile index 4c7c7678e3..c386550292 100644 --- a/package/libs/uclibc++/Makefile +++ b/package/libs/uclibc++/Makefile @@ -63,6 +63,7 @@ MAKE_FLAGS:= \ LDFLAGS="-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,defs $(TARGET_LDFLAGS)" \ CP="$(CP)" \ GEN_LIBS="-lc $(LIBGCC_S) $(SSP_LIB)" \ + GEN_CFLAGS="-std=gnu++98 -nostdinc++" \ check_as_needed= # check_as_needed overrides dependency on libgcc_s |