#!/bin/bash # Grab CFLAGS, etc. from make.conf. source /etc/portage/make.conf # LDFLAGS comes from.. somewhere else. LDFLAGS="-Wl,-O1 -Wl,--as-needed" # Portage does this for us. MAKE="make ${MAKEOPTS}"