]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/openssl
toolchain: update to gcc-7.3.0 and enable retpolines on x86_64 and i586
[ipfire-2.x.git] / lfs / openssl
index 6050768ecc58831b2378f6dc737f7909a5ab641d..7239a98f472d02c7841c3690e1cd67d1a3df2802 100644 (file)
@@ -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