Skip to content

Commit

Permalink
Merge pull request #1604 from ddpbsd/optimization_level
Browse files Browse the repository at this point in the history
Don't set the compiler optimization level
  • Loading branch information
atomicturtle authored Dec 30, 2018
2 parents 3b25ba1 + 25d4099 commit 9e2e87d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ OSSEC_CFLAGS=${CFLAGS}

ifdef DEBUG
OSSEC_CFLAGS+=-g
else
OSSEC_CFLAGS+=-O2
endif #DEBUG

ifneq (,$(filter ${CLEANFULL},yes y Y 1))
Expand Down
2 changes: 1 addition & 1 deletion src/external/lua-5.2.3/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PLAT= none
PREFIX?=/var/ossec

#CC= gcc
CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"$(PREFIX)\" $(SYSCFLAGS) $(MYCFLAGS)
CFLAGS= -Wall -DLUA_COMPAT_ALL -DPREFIX=\"$(PREFIX)\" $(SYSCFLAGS) $(MYCFLAGS)
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
LIBS= -lm $(SYSLIBS) $(MYLIBS)

Expand Down

0 comments on commit 9e2e87d

Please sign in to comment.