factor/vm/Config.linux

14 lines
519 B
Plaintext
Raw Normal View History

2007-09-20 18:09:08 -04:00
include vm/Config.unix
PLAF_DLL_OBJS += vm/os-genunix.o vm/os-linux.o vm/mvm-unix.o
PLAF_MASTER_HEADERS += vm/os-genunix.hpp vm/os-linux.hpp
2016-03-10 23:17:04 -05:00
LIBS = -ldl -lm -lrt -lpthread -Wl,--export-dynamic
# clang spams warnings if we use -Wl,--no-as-needed with -c
# -Wl,--no-as-needed is a gcc optimization, not required
# we want to work with g++ aliased as c++ here, too
IS_GCC = $(shell $(CXX) --version | grep -o 'Free Software Foundation')
ifeq ($(IS_GCC),Free Software Foundation)
SITE_CFLAGS += -Wl,--no-as-needed
endif