|
@@ -56,6 +56,7 @@ endif
|
|
|
|
|
|
ifeq ($(OS_TARGET),freebsd)
|
|
ifeq ($(OS_TARGET),freebsd)
|
|
needusrlocallib=1
|
|
needusrlocallib=1
|
|
|
|
+neednostdlib=1
|
|
endif
|
|
endif
|
|
ifeq ($(OS_TARGET),openbsd)
|
|
ifeq ($(OS_TARGET),openbsd)
|
|
needusrlocallib=1
|
|
needusrlocallib=1
|
|
@@ -68,6 +69,9 @@ endif
|
|
ifdef needusrlocallib
|
|
ifdef needusrlocallib
|
|
override SPECIALLINK+=-Fl/usr/local/lib
|
|
override SPECIALLINK+=-Fl/usr/local/lib
|
|
endif
|
|
endif
|
|
|
|
+ifdef neednostdlib
|
|
|
|
+override SPECIALLINK+=-Xd
|
|
|
|
+endif
|
|
# Try to find GDB library
|
|
# Try to find GDB library
|
|
# Look for a valid GDBLIBDIR environment variable
|
|
# Look for a valid GDBLIBDIR environment variable
|
|
ifdef GDBLIBDIR
|
|
ifdef GDBLIBDIR
|