1 2 3 4 5 6 7 8
#! /bin/sh ./configure \ --disable-shared \ --with-pic \ CXX="g++ -nodefaultlibs" \ CXXFLAGS=-O2 \ LIBS="-Wl,-Bstatic,-lstdc++,-Bdynamic -Wl,-lgcc -Wl,-lgcc_eh -Wl,-lm -Wl,-lc"