summaryrefslogtreecommitdiff
path: root/sys-apps/ipmiutil/files/ipmiutil-3.1.7-flags.patch
blob: 7ef804bc11d3d0128bae94554dce9d6ce98f919c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ipmiutil-3.1.7/configure.ac
+++ ipmiutil-3.1.7/configure.ac
@@ -170,7 +170,7 @@
 	LANPLUS_CRYPTO=""
 	LANPLUS_SAM="no"
 	LD_SAMX=""
-	CFLAGS="-O2"
+	#CFLAGS="-O2"
         SUBDIR_S="scripts util"
 	if test "x$cross_compiling" = "xyes"; then
 	   # cross-compiling, so link with -static (e.g. Android ARM)
@@ -363,7 +363,7 @@
 	fi
 	rm -f $tmpc $tmpo >/dev/null 2>&1
 	echo $ECHO_N "checking compile fortify flags ... $ECHO_C"
-	cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
+	#cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
 	echo "int main() { alloca(100); return(1); }" >$tmpc
 	$CC -o $tmpo $cfhard $tmpc  >/dev/null 2>&1
 	if test $? -ne 0 ; then