Browse Source

Enable O3 optimization

master
Arun Prakash Jana 7 years ago
parent
commit
b0a806ae2e
No known key found for this signature in database GPG Key ID: A75979F35C080412
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      Makefile
  2. +0
    -1
      scripts/make_native/Makefile.native

+ 1
- 1
Makefile View File

@@ -3,7 +3,7 @@ VERSION = 1.4
PREFIX ?= /usr/local
MANPREFIX = $(PREFIX)/share/man

CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter
CFLAGS += -O3 -Wall -Wextra -Wno-unused-parameter
LDLIBS = -lreadline

ifeq ($(shell pkg-config ncursesw && echo 1),1)


+ 0
- 1
scripts/make_native/Makefile.native View File

@@ -1,5 +1,4 @@
# This Makefile optimizes native builds. It
# - enables -O3 optimization
# - builds for native architecture (-march=native)
# - does not have debug build option
#


Loading…
Cancel
Save