mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
toolchain: update to gcc-7.3.0 and enable retpolines on x86_64 and i586
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
27ee5072c5
commit
11b5e5cb8e
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2016 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -37,6 +37,7 @@ ifneq "$(KCFG)" "-sse2"
|
||||
CFLAGS += -DPURIFY
|
||||
else
|
||||
CFLAGS =-O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC
|
||||
CFLAGS+= -mindirect-branch=thunk -mfunction-return=thunk
|
||||
CFLAGS+= -fstack-protector-all --param=ssp-buffer-size=4
|
||||
CFLAGS+= -march=i686 -mmmx -msse -msse2 -mfpmath=sse
|
||||
CFLAGS+= -fomit-frame-pointer -DPURIFY
|
||||
|
||||
Reference in New Issue
Block a user