Remove compiler option -Wno-unused-parameter (old gcc doesn't have it).
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 28 Sep 2002 17:53:15 +0000 (17:53 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 28 Sep 2002 17:53:15 +0000 (17:53 +0000)
Add linker option -export-dynamic to be able to use libtool --execute.

gom/Makefile.am

index 38c5edf3b8d3c7d503c19baf4a7ec184be19bc64..c1f015894b7bc993ced76c45672db1cece600b5e 100644 (file)
@@ -3,7 +3,7 @@
 # $Name$
 
 INCLUDES = -I $(srcdir)/../intl -I $(srcdir)/../include -I $(srcdir)/../utf8
-CFLAGS   = -g -O2 -W -Wall -Wno-unused-parameter -pedantic
+CFLAGS   = -g -O2 -W -Wall -pedantic
 
 lib_LTLIBRARIES = libgedcom_gom.la
 libgedcom_gom_la_SOURCES = gom.c \
@@ -58,5 +58,5 @@ noinst_HEADERS = header.h \
                 user_rec.h \
                 gom_internal.h
 
-libgedcom_gom_la_LDFLAGS = -version-info $(LIBVERSION)
+libgedcom_gom_la_LDFLAGS = -export-dynamic -version-info $(LIBVERSION)
 libgedcom_gom_la_LIBADD  = ../utf8/libutf8.la