Skip to content
Snippets Groups Projects
Commit 16783fd0 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

RF: Remove -ansi, remove CXX11

parent 6af061f5
No related branches found
No related tags found
No related merge requests found
...@@ -55,11 +55,10 @@ ifeq ($(SYSTYPE), Darwin) ...@@ -55,11 +55,10 @@ ifeq ($(SYSTYPE), Darwin)
# Commands # Commands
CC ?= cc CC ?= cc
CXX ?= c++ CXX ?= c++
CXX11 ?= clang++
RANLIB ?= ranlib RANLIB ?= ranlib
# Compiler flags # Compiler flags
ARCHCXXFLAGS += -arch x86_64 -O3 -ansi -Wall -pedantic ARCHCXXFLAGS += -arch x86_64 -Wall -pedantic
ARCHCFLAGS += $(ARCHCXXFLAGS) -std=c99 ARCHCFLAGS += $(ARCHCXXFLAGS) -std=c99
ARCHLDFLAGS += -Wl,-search_paths_first ARCHLDFLAGS += -Wl,-search_paths_first
ARCHLIBS += -llapack -lblas -lz -lm ARCHLIBS += -llapack -lblas -lz -lm
...@@ -89,12 +88,11 @@ ifeq ($(SYSTYPE), Linux) ...@@ -89,12 +88,11 @@ ifeq ($(SYSTYPE), Linux)
# Commands # Commands
CC ?= gcc CC ?= gcc
CXX ?= c++ CXX ?= c++
CXX11 ?= c++
RANLIB ?= echo RANLIB ?= echo
# Compiler flags # Compiler flags
ARCHCFLAGS += -fexpensive-optimizations \ ARCHCFLAGS += -fexpensive-optimizations \
-Wall -ansi -pedantic -Wno-long-long -Wall -pedantic -Wno-long-long
ARCHCXXFLAGS += $(ARCHCFLAGS) ARCHCXXFLAGS += $(ARCHCFLAGS)
ARCHLDFLAGS += -Wl,-rpath,'$$ORIGIN/../lib' ARCHLDFLAGS += -Wl,-rpath,'$$ORIGIN/../lib'
ARCHLIBS += -lopenblas -lz -lm ARCHLIBS += -lopenblas -lz -lm
......
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