fix build optimizations when using gcc 5

This commit is contained in:
Lukas Rusak 2015-10-06 11:50:12 -07:00 committed by Stephan Raue
parent 010e6251d4
commit c75850c245

View File

@ -120,6 +120,10 @@ pre_build_target() {
) )
} }
pre_configure_target() {
export CFLAGS="$CFLAGS -fno-schedule-insns -fno-schedule-insns2"
}
post_makeinstall_target() { post_makeinstall_target() {
# remove unneeded stuff # remove unneeded stuff
rm -rf $INSTALL/etc/systemd/system rm -rf $INSTALL/etc/systemd/system