Optimization #6065
openwarning _FORTIFY_SOURCE requires compiling with optimization
Description
A non blocking issue seen the compile proces completes, but just to let you know.
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
Redhat 8.7 , kernel 4.18.0-425.13.1.el8_7.x86_64
7.0.0-rc2-dev
export PATH=/home/user/.cargo/bin:$PATH
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig
export CFLAGS="-ggdb"
$ ./configure --enable-gccprotect --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --enable-geoip --with-libhs-includes=/usr/local/include/hs/ --with-libhs-libraries=/usr/local/lib64/ --enable-rust --enable-http2-decompression --enable-dpdk
Updated by Philippe Antoine about 1 year ago
- Label Beginner added
Apparently, configure.ac should add optimization flag when it adds _FORTIFY_SOURCE