Sha256: 0a93394cee0cac330eac0aa270679237b6a2dee1b91b07c3aeb2639a253b097a

Contents?: true

Size: 746 Bytes

Versions: 6

Compression:

Stored size: 746 Bytes

Contents

#!/bin/sh
set -e
#
# See https://wiki.debian.org/Hardening for details
#
# -Wno-padded padding can change by OS/version this check is really
#   for embedded systems so it's ok to skip
#
# -Wno-covered-switch-default Don't warn if we have a switch that
#  covers all of an enum AND we have a default.  enums are only losely
#  typed, it's good to have a default: assert(0) in case someone does
#  a bad cast, etc also this conflicts with GCC checks.
#
export CFLAGS="-g -O3 -pie -fPIE -fPIC -fstack-protector --param ssp-buffer-size=4 -Wall -Wextra -Wformat -Wformat-security -Werror -Wcast-align -Wshadow -Wpointer-arith -Wcast-qual -Wstack-protector -D_FORTIFY_SOURCE=2 -ansi"
./configure --with-pic --disable-shared --enable-static
make clean

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ffi-hydrogen-0.1.5 vendor/stringencoders/configure-gcc-hardened.sh
ffi-hydrogen-0.1.4 vendor/stringencoders/configure-gcc-hardened.sh
ffi-hydrogen-0.1.3 vendor/stringencoders/configure-gcc-hardened.sh
ffi-hydrogen-0.1.2 vendor/stringencoders/configure-gcc-hardened.sh
ffi-hydrogen-0.1.1 vendor/stringencoders/configure-gcc-hardened.sh
ffi-hydrogen-0.1.0 vendor/stringencoders/configure-gcc-hardened.sh