Skip to content

Commit 5f6ecda

Browse files
committed
Make it easier to control symbol exports
By not hardcoding RDYNAMIC it's possible to control exporting from the commandline on platforms/compilers that don't support -rdynamic.
1 parent c2bd13e commit 5f6ecda

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ ifdef FILESDIR
4343
override CPPFLAGS+=-DFILESDIR=\"$(FILESDIR)\"
4444
endif
4545

46-
RDYNAMIC=-rdynamic
46+
ifndef RDYNAMIC
47+
RDYNAMIC=-rdynamic
48+
endif
49+
4750
# Set the CPPCHK_GLIBCXX_DEBUG flag. This flag is not used in release Makefiles.
4851
# The _GLIBCXX_DEBUG define doesn't work in Cygwin or other Win32 systems.
4952
ifndef COMSPEC

0 commit comments

Comments
 (0)