mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 21:07:54 +00:00
98bc4decde
Signed-off-by: Alexey Neyman <stilor@att.net>
19 lines
377 B
Diff
19 lines
377 B
Diff
---
|
|
configure | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -78,7 +78,10 @@
|
|
rm -f conftest.c a.out
|
|
|
|
CFLAGS='-g -O2'
|
|
-LIBS='-lelf -lsupc++ -liberty '
|
|
+LIBS='-lelf'
|
|
+[ -n "$HAVE_LIBSUPC__" ] && LIBS="$LIBS -lsupc++"
|
|
+[ -n "$HAVE_LIBIBERTY" ] && LIBS="$LIBS -liberty"
|
|
+
|
|
INSTALL='install -c'
|
|
iquote='-iquote '
|
|
iquoteend=''
|