Skip to content

Commit bccf2d0

Browse files
committed
Remove Darwin specific LDFLAGS
Solves #48
1 parent 68e21e4 commit bccf2d0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

gcc.build.bash

-6
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,6 @@ CONFARGS=" \
104104
--disable-doc \
105105
--target=avr"
106106

107-
if [ `uname -s` == "Darwin" ]
108-
then
109-
# Use default system libraries (no other Macports libraries)
110-
LDFLAGS="$LDFLAGS -L/usr/lib"
111-
fi
112-
113107
CFLAGS="-w -O2 -g0 $CFLAGS" CXXFLAGS="-w -O2 -g0 $CXXFLAGS" LDFLAGS="-s $LDFLAGS" ../gcc/configure $CONFARGS $EXTRA_CONFARGS
114108

115109
if [ -z "$MAKE_JOBS" ]; then

0 commit comments

Comments
 (0)