]> gitweb.factorcode.org Git - factor.git/blob - vm/Config.linux
alien.syntax: clarify that we can dispatch off ENUM: members
[factor.git] / vm / Config.linux
1 include vm/Config.unix
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
5
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')
10
11 ifeq ($(IS_GCC),Free Software Foundation)
12         SITE_CFLAGS += -Wl,--no-as-needed
13 endif