blob: ddb5a13eba28fa48d4d8da46c334ef95d9977ce8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- makepkg-optimize
+++ makepkg-optimize
@@ -891,6 +891,11 @@
fi
fi
+ # Utilize graphite if it is requested (check buildenv and PKGBUILD opts)
+ if check_buildoption "graphite" "y"; then
+ CFLAGS+=" -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -ftree-vectorize"
+ CXXFLAGS+=" -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -ftree-vectorize"
+ fi
run_function_safe "build"
}
|