'all' => \$option_all,
# Misc.
'color' => \$option_color,
- 'arch' => \$option_arch,
+ 'arch=s' => \$option_arch,
'buildd' => \$option_buildd,
)) {
require Pod::Usage;
use strict;
use warnings;
-use Test::More tests => 90;
+use Test::More tests => 92;
sub is_blhc {
LDFLAGS missing (-Wl,-z,relro): gcc -Wl,-z,now -o test test.o
';
+is_blhc 'arch-ia64', '--arch i386', 8,
+ 'CFLAGS missing (-fstack-protector --param=ssp-buffer-size=4): gcc -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
+LDFLAGS missing (-Wl,-z,relro): gcc -fPIE -pie -o test test.o
+CFLAGS missing (-fPIE -fstack-protector --param=ssp-buffer-size=4): gcc -D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
+LDFLAGS missing (-pie -Wl,-z,relro): gcc -fPIE -o test test.o
+';
+
# debian