Skip to content
Snippets Groups Projects
Commit 06b602d7 authored by nicolas's avatar nicolas
Browse files

* Update Makefiles so it compiles with new versions

   of gcc (>= 4.6.3) on Linux
parent be589132
No related branches found
No related tags found
No related merge requests found
......@@ -117,9 +117,9 @@ endif
ifeq ($(ARCH),linuxx8664gcc)
# AMD Opteron and Intel EM64T (64 bit mode) Linux with gcc 3.x
CXX = g++
CXXFLAGS = $(OPT2) -Wall -fPIC
CXXFLAGS = $(OPT2) -Wall -fPIC -Xlinker --no-as-needed
LD = g++
LDFLAGS = $(OPT2)
LDFLAGS = $(OPT2) -Xlinker --no-as-needed
SOFLAGS = -shared
endif
......
......@@ -19,6 +19,7 @@ G4BIN = ./bin
CPPFLAGS += $(shell root-config --cflags)
CPPFLAGS += -I$(NPTOOL)/NPLib/include
CPPFLAGS += -Xlinker --no-as-needed
EXTRALIBS = $(shell root-config --glibs) -lMathMore
EXTRALIBS += `$(NPTOOL)/NPLib/liblist`
.PHONY: all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment