Skip to content

Commit 92c572a

Browse files
committed
---
yaml --- r: 2047 b: refs/heads/master c: cae703c h: refs/heads/master i: 2045: ac8701c 2043: 16dc365 2039: 8cca7fd 2031: 48878db 2015: 5453cae 1983: a097b4c 1919: 9086a67 1791: 85b2f30 1535: aa3059a 1023: b8df02b v: v3
1 parent 7e4d95c commit 92c572a

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 573bc5ad0190e2c309d13d5d2268d117c3cf2947
2+
refs/heads/master: cae703c0b1fabbc6ed3f6501198778d18a110fc2

trunk/Makefile.in

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ CFG_INFO := $(info cfg: building on $(CFG_OSTYPE) $(CFG_CPUTYPE))
1414
CFG_GCC_CFLAGS := -fno-strict-aliasing
1515
CFG_GCC_LINK_FLAGS :=
1616
CFG_BOOT_FLAGS := $(BOOT_FLAGS)
17-
CFG_RUSTC_FLAGS := -nowarn -O
17+
ifdef CFG_DISABLE_OPTIMIZE
18+
CFG_RUSTC_FLAGS := -O
19+
else
20+
CFG_RUSTC_FLAGS := -nowarn -O
21+
endif
1822

1923
# On Darwin, we need to run dsymutil so the debugging information ends
2024
# up in the right place. On other platforms, it automatically gets

trunk/configure

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ fi
153153

154154
opt valgrind 1 "run tests with valgrind"
155155
opt docs 1 "build documentation"
156+
opt optimize 1 "build optimized rust code"
156157

157158

158159
if [ $HELP -eq 1 ]

0 commit comments

Comments
 (0)