Skip to content

Commit e102501

Browse files
committed
Merge pull request #105 from petercolberg/master
[WIP] More makefile improvements
2 parents 4c8740a + 3095eef commit e102501

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Make.inc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ ifeq ($(ARCH),mingw32)
4545
$(error "the mingw32 compiler you are using fails the openblas testsuite. please see the Julia README.windows.md document for a replacement")
4646
endif
4747

48-
CFLAGS_add += -std=c99 -Wall -O3 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
48+
CFLAGS_add += -std=c99 -Wall -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
49+
50+
ifneq ($(NOOPT),1)
51+
CFLAGS_add += -O3
52+
endif
4953

5054
default: all
5155

0 commit comments

Comments
 (0)