Enable aggressive code size optimizations: -Oz

Этот коммит содержится в:
Ayke van Laethem 2018-08-24 03:32:29 +02:00
родитель f9f92de1c3
коммит 5f28b07f75
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: E97FF5335DFDFDED

Просмотреть файл

@ -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.