Thói quen compile của e hay nhét mấy cái liên quan vào 1 chỗ để dễ debug sau nay thay vì compile ở default folder
Code:
CHOST="x86_64-redhat-linux" CFLAGS="-march=core2 -O2 -pipe" CXXFLAGS="${CFLAGS}" ./configure --build=x86_64-redhat-linux --prefix=/etc/apache/apr-utils --with-apr=/etc/apache/apr/bin/apr-1-config --with-mysql=/etc/mysql --with-ldap-include=/etc/openldap/include --with-ldap-lib=/etc/openldap/lib --with-ldap=ldap --with-freetds=/usr/lib64
Code:
CHOST="x86_64-redhat-linux" CFLAGS="-march=nocona -O2 -pipe" CXXFLAGS="${CFLAGS}" ./configure --build=x86_64-redhat-linux --prefix=/etc/apache/apr --enable-debug --enable-profile --enable-threads --enable-other-child