diff -Naur paxtest-0.9.9.orig/Makefile paxtest-0.9.9/Makefile --- paxtest-0.9.9.orig/Makefile 2010-02-22 18:47:19.000000000 -0500 +++ paxtest-0.9.9/Makefile 2010-07-09 16:36:09.000000000 -0400 @@ -52,7 +52,8 @@ endif # for some reason the .c files need it, else GNU_STACK=RWE -OPT_FLAGS := -O2 $(ASFLAGS) +# Gentoo's CFLAGS should be honored +OPT_FLAGS := $(CFLAGS) $(ASFLAGS) PTHREAD := -lpthread # define stripping of binaries/libs here, or set these on make's commandline, # else you'll loose the chpax flags!