Commit 50c155a3eb6d33380bdecc52da33cf4ec89dfac7

Authored by Stéphane Raimbault
1 parent e48efd38

Remove (not so useful) ld options not supported on Mac OS X

Showing 1 changed file with 1 additions and 5 deletions
src/Makefile.am
... ... @@ -10,10 +10,6 @@ AM_CPPFLAGS = \
10 10  
11 11 AM_CFLAGS = ${my_CFLAGS}
12 12  
13   -AM_LDFLAGS = \
14   - -Wl,--gc-sections \
15   - -Wl,--as-needed
16   -
17 13 libmodbus_la_SOURCES = \
18 14 modbus.c \
19 15 modbus.h \
... ... @@ -27,7 +23,7 @@ libmodbus_la_SOURCES = \
27 23 modbus-tcp-private.h \
28 24 modbus-version.h
29 25  
30   -libmodbus_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined \
  26 +libmodbus_la_LDFLAGS = -no-undefined \
31 27 -version-info $(LIBMODBUS_LT_VERSION_INFO)
32 28  
33 29 if OS_WIN32
... ...