瀏覽代碼

Enable O3 optimization

master
Arun Prakash Jana 7 年之前
父節點
當前提交
b0a806ae2e
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. +1
    -1
      Makefile
  2. +0
    -1
      scripts/make_native/Makefile.native

+ 1
- 1
Makefile 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存