Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: build-setup
- ===================================================================
- --- build-setup (revision 6680)
- +++ build-setup (working copy)
- @@ -149,7 +149,7 @@
- # OG: Trimmed down to detect specific case to be supported
- if [ "x${ecc}" != "x" ] ; then
- # An ecc exists, use it to compile.
- - if [ "${tuple}" == "" ] ; then
- + if [ "${tuple}" = "" ] ; then
- # Find a tuple for this host.
- tuple=`cd ${prefix}/libecc/config; echo ${host}*-linux*`
- libtuple=${tuple}
- Index: libecc/Makefile
- ===================================================================
- --- libecc/Makefile (revision 6680)
- +++ libecc/Makefile (working copy)
- @@ -63,6 +63,7 @@
- mv ../include/bits ../include/`../../bin/ecc-getincarch $*`/bits ; \
- (cd ../include/`../../bin/ecc-getincarch $*`; rm -rf machine; ln -sf bits machine) ;\
- mkdir -p ../lib/$* ; \
- + rm ../lib/$*/*.la ; \
- cp $*/install/lib/*.a $*/install/lib/*.o ../lib/$*
- $(Configs):: musl.install
- @@ -211,6 +212,7 @@
- echo Installing expat for $* ; \
- mkdir -p ../lib/$* ; \
- cp $*/.libs/*.a ../lib/$* ; \
- + cp $*/.libs/*.la ../lib/$* ; \
- cp -p ../src/expat/lib/expat.h ../include ; \
- cp -p ../src/expat/lib/expat_external.h ../include
- @@ -422,7 +424,7 @@
- cd libmetalink-build/$* ; \
- CC="$(ELLCC)/bin/ecc" \
- CFLAGS="-target $* $(CFLAGS)" \
- - LDFLAGS="-target $*" \
- + LDFLAGS="-target $* -L$(ELLCC)/libecc/lib/$*" \
- CXX="$(ELLCC)/bin/ecc++" \
- CXXFLAGS="-target $* $(CXXFLAGS)" \
- CPP="$(ELLCC)/bin/ecc -E -target $*" \
- @@ -516,7 +518,7 @@
- cd curl-build/$* ; \
- CC="$(ELLCC)/bin/ecc" \
- CFLAGS="-target $* $(CFLAGS)" \
- - LDFLAGS="-target $*" \
- + LDFLAGS="-target $* -L$(ELLCC)/libecc/lib/$*" \
- CXX="$(ELLCC)/bin/ecc++" \
- CXXFLAGS="-target $* $(CXXFLAGS)" \
- CPP="$(ELLCC)/bin/ecc -E -target $*" \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement