From: Dirk Neukirchen Date: Fri, 10 Apr 2015 12:47:19 +0000 (+0200) Subject: pjproject: use g++ as a linker X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b503392f2e56a0a3fb4e0ed6964b5885ad37b6e2;p=feed%2Ftelephony.git pjproject: use g++ as a linker this seems to fix a strange error where the last stage cannot find libgcc.a or libgcc.so only compile tested Signed-off-by: Dirk Neukirchen --- diff --git a/libs/pjproject/patches/001-change_linker.patch b/libs/pjproject/patches/001-change_linker.patch new file mode 100644 index 0000000..5fd1503 --- /dev/null +++ b/libs/pjproject/patches/001-change_linker.patch @@ -0,0 +1,11 @@ +--- a/build/cc-auto.mak.in ++++ b/build/cc-auto.mak.in +@@ -2,7 +2,7 @@ export CC = @CC@ -c + export CXX = @CXX@ -c + export AR = @AR@ + export AR_FLAGS = @AR_FLAGS@ +-export LD = @LD@ ++export LD = @CXX@ + export LDOUT = -o + export RANLIB = @RANLIB@ +