Fixing comment in Makefile and adding tips for building binaries for

distribution on Linux.
This commit is contained in:
Dmitry Babokin
2014-10-16 20:17:02 +04:00
parent d62fe78e6e
commit 8283cfc3ff

View File

@@ -74,7 +74,7 @@ endif
ARM_ENABLED=0 ARM_ENABLED=0
# Disable NVPTX by request # Disable NVPTX by request
# To disable: make NVPTX_ENABLED=0 # To enable: make NVPTX_ENABLED=1
NVPTX_ENABLED=0 NVPTX_ENABLED=0
# Add llvm bin to the path so any scripts run will go to the right llvm-config # Add llvm bin to the path so any scripts run will go to the right llvm-config
@@ -176,6 +176,10 @@ ifeq ($(ARCH_OS),Linux)
# try to link everything statically under Linux (including libstdc++) so # try to link everything statically under Linux (including libstdc++) so
# that the binaries we generate will be portable across distributions... # that the binaries we generate will be portable across distributions...
# LDFLAGS=-static # LDFLAGS=-static
# Linking everything statically isn't easy (too many things are required),
# but linking libstdc++ and libgcc is necessary when building with relatively
# new gcc, when going to distribute to old systems.
LDFLAGS=-static-libgcc -static-libstdc++
endif endif
LEX=flex LEX=flex