2015-10-15 10:25:28 +02:00

16 lines
586 B
Plaintext

# NetBSD has (will have) "non-native" libraries in /usr/lib/<arch>.
# For NetBSD/amd64 we thus have /usr/lib and /usr/lib/i386.
MULTILIB_OPTIONS = m64/m32
MULTILIB_DIRNAMES = 64 32
MULTILIB_OSDIRNAMES = . ../lib/i386
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
# The pushl in CTOR initialization interferes with frame pointer elimination.
# crtend*.o cannot be compiled without -fno-asynchronous-unwind-tables,
# because then __FRAME_END__ might not be the last thing in .eh_frame
# section.
CRTSTUFF_T_CFLAGS += -fno-omit-frame-pointer -fno-asynchronous-unwind-tables