2 PLAF_DLL_OBJS += vm/os-genunix.o vm/os-linux.o vm/mvm-unix.o
3 PLAF_MASTER_HEADERS += vm/os-genunix.hpp vm/os-linux.hpp
4 LIBS = -ldl -lm -lrt -lpthread -Wl,--export-dynamic
6 # clang spams warnings if we use -Wl,--no-as-needed with -c
7 # -Wl,--no-as-needed is a gcc optimization, not required
8 # we want to work with g++ aliased as c++ here, too
9 IS_GCC = $(shell $(CXX) --version | grep -o 'Free Software Foundation')
11 ifeq ($(IS_GCC),Free Software Foundation)
12 SITE_CFLAGS += -Wl,--no-as-needed