Skip to content
Snippets Groups Projects
Commit 11658cc9 authored by Paul Russo's avatar Paul Russo
Browse files

Make 64-bit icc respect the --enable-cxx11 configure option.

parent 8ba3378e
No related merge requests found
...@@ -13,11 +13,14 @@ else ...@@ -13,11 +13,14 @@ else
OPT = $(OPTFLAGS) OPT = $(OPTFLAGS)
NOOPT = -O0 NOOPT = -O0
endif endif
ifeq ($(CXX11),yes)
CXX11FLAGS = -std=c++11
endif
# Compiler: # Compiler:
CXX = icc CXX = icc
CC = icc CC = icc
CXXFLAGS = -fPIC -wd1476 $(EXTRA_CXXFLAGS) CXXFLAGS = -fPIC -wd1476 $(EXTRA_CXXFLAGS) $(CXX11FLAGS)
CFLAGS = -fPIC $(EXTRA_CFLAGS) -restrict CFLAGS = -fPIC $(EXTRA_CFLAGS) -restrict
# Linker: # Linker:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment