diff --git a/include/config.h b/include/config.h index 11652a7c6..a7097b363 100644 --- a/include/config.h +++ b/include/config.h @@ -273,7 +273,9 @@ # endif # ifdef __linux__ # define PANICTRACE -# define NOSTATICFN +# ifndef NOSTATICFN // may be defined on command line +# define NOSTATICFN +# endif # endif // This test isn't quite right: CNG is only available from Windows 2000 on. // But we'll check that at runtime. diff --git a/sys/unix/hints/linux.370 b/sys/unix/hints/linux.370 index 39286e027..e3dec785b 100755 --- a/sys/unix/hints/linux.370 +++ b/sys/unix/hints/linux.370 @@ -360,10 +360,10 @@ POSTINSTALL+= sed -i -e 's;^GDBPATH=/usr/bin/gdb;\#GDBPATH=/usr/bin/gdb;' \ -e 's;PANICTRACE_GDB=1;PANICTRACE_GDB=0;' $(INSTDIR)/sysconf; endif -ifeq 'USENONOSTATICFN' '1' +ifeq '$(USE_NONOSTATICFN)' '1' CFLAGS += -DNONOSTATICFN else -ifeq 'USE_NOSTATICFN' '1' +ifeq '$(USE_NOSTATICFN)' '1' CFLAGS += -DNOSTATICFN endif endif