Browse Source
Enable aggressive code size optimizations: -Oz
pull/6/head
Ayke van Laethem
6 years ago
No known key found for this signature in database
GPG Key ID: E97FF5335DFDFDED
1 changed files with
1 additions and
1 deletions
-
Makefile
|
@ -98,7 +98,7 @@ build/%.bc: src/examples/% src/examples/%/*.go build/tgo src/runtime/*.go build/ |
|
|
|
|
|
|
|
|
# Compile and optimize bitcode file.
|
|
|
# Compile and optimize bitcode file.
|
|
|
build/%.o: build/%.bc |
|
|
build/%.o: build/%.bc |
|
|
$(OPT) -Os -enable-coroutines -o $< $< |
|
|
$(OPT) -Oz -enable-coroutines -o $< $< |
|
|
$(LLC) -filetype=obj -o $@ $< |
|
|
$(LLC) -filetype=obj -o $@ $< |
|
|
|
|
|
|
|
|
# Compile C sources for the runtime.
|
|
|
# Compile C sources for the runtime.
|
|
|