aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2018-03-23 20:33:53 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2018-03-23 20:33:53 -0400
commit7b808e6d3f2bee32e86a42c7bb46154d7c8e1a08 (patch)
tree9822d57fb2cf29937ba808d2c6cb0b814bbcf3f4 /configure
parentsupport Spectre mitigation patch for gcc compiler (diff)
downloadfirejail-7b808e6d3f2bee32e86a42c7bb46154d7c8e1a08.tar.gz
firejail-7b808e6d3f2bee32e86a42c7bb46154d7c8e1a08.tar.zst
firejail-7b808e6d3f2bee32e86a42c7bb46154d7c8e1a08.zip
fixes
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 3 insertions, 7 deletions
diff --git a/configure b/configure
index 80f66f8b3..0ccaad051 100755
--- a/configure
+++ b/configure
@@ -2100,7 +2100,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2100 2100
2101#AC_CONFIG_HEADERS([config.h]) 2101#AC_CONFIG_HEADERS([config.h])
2102 2102
2103
2104ac_ext=c 2103ac_ext=c
2105ac_cpp='$CPP $CPPFLAGS' 2104ac_cpp='$CPP $CPPFLAGS'
2106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3106,7 +3105,6 @@ else
3106fi 3105fi
3107 3106
3108 3107
3109
3110HAVE_SPECTRE="no" 3108HAVE_SPECTRE="no"
3111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Spectre mitigation support in gcc compiler" >&5 3109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Spectre mitigation support in gcc compiler" >&5
3112$as_echo_n "checking for Spectre mitigation support in gcc compiler... " >&6; } 3110$as_echo_n "checking for Spectre mitigation support in gcc compiler... " >&6; }
@@ -3121,7 +3119,7 @@ if test "$HAVE_SPECTRE" = "yes"; then :
3121 3119
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3123$as_echo "yes" >&6; } 3121$as_echo "yes" >&6; }
3124 EXTRA_CFLAGS+="-mindirect-branch=thunk" 3122 EXTRA_CFLAGS+=" -mindirect-branch=thunk "
3125 3123
3126fi 3124fi
3127if test "$HAVE_SPECTRE" = "no"; then : 3125if test "$HAVE_SPECTRE" = "no"; then :
@@ -3132,7 +3130,6 @@ $as_echo "... not available" >&6; }
3132fi 3130fi
3133 3131
3134 3132
3135
3136HAVE_APPARMOR="" 3133HAVE_APPARMOR=""
3137# Check whether --enable-apparmor was given. 3134# Check whether --enable-apparmor was given.
3138if test "${enable_apparmor+set}" = set; then : 3135if test "${enable_apparmor+set}" = set; then :
@@ -3147,7 +3144,6 @@ if test "x$enable_apparmor" = "xyes"; then :
3147fi 3144fi
3148 3145
3149 3146
3150
3151ac_ext=c 3147ac_ext=c
3152ac_cpp='$CPP $CPPFLAGS' 3148ac_cpp='$CPP $CPPFLAGS'
3153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3559,7 +3555,7 @@ fi
3559fi 3555fi
3560if test "x$enable_apparmor" = "xyes"; then : 3556if test "x$enable_apparmor" = "xyes"; then :
3561 3557
3562 EXTRA_LDFLAGS+="-lapparmor " 3558 EXTRA_LDFLAGS+=" -lapparmor "
3563 3559
3564fi 3560fi
3565 3561
@@ -3753,7 +3749,7 @@ fi
3753if test "x$enable_gcov" = "xyes"; then : 3749if test "x$enable_gcov" = "xyes"; then :
3754 3750
3755 HAVE_GCOV="--coverage -DHAVE_GCOV " 3751 HAVE_GCOV="--coverage -DHAVE_GCOV "
3756 EXTRA_LDFLAGS+="-lgcov --coverage " 3752 EXTRA_LDFLAGS+=" -lgcov --coverage "
3757 3753
3758 3754
3759fi 3755fi