382 commits
0 issues
0 pull requests
1 contributor
Discussions
Projects
Snippets
LOC history
Platform
CI
Exercise the GCC archive wrappers on LTO objects
Unverified signature
1 files changed
+3
-0
tests/toolchain/Makefile
+3
-0
@@ -34,6 +34,9 @@ graphite: optimizers.c graphite.o
3434libgraphite.a: graphite.c
3535 $(CC) -O2 -flto -fno-fat-lto-objects -c -o graphite-lto.o $<
3636 $(AR) rcs $@ graphite-lto.o
37+ gcc-ar t $@ | grep -Fx graphite-lto.o
38+ gcc-ranlib $@
39+ gcc-nm --defined-only $@ | grep -E '[[:space:]]T[[:space:]]fill_rows$$'
3740
3841optimizers: optimizers.c libgraphite.a
3942 $(CC) -O2 -flto -o $@ $^