Created
July 29, 2014 19:08
-
-
Save iffyuva/ba6c18332acb3c7b1be5 to your computer and use it in GitHub Desktop.
compiling ruby with -O2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ CFLAGS='-O2 -fno-fast-math' ./configure | |
$ make | |
CC = clang | |
LD = ld | |
LDSHARED = clang -dynamic -bundle | |
CFLAGS = -O2 -fno-fast-math -pipe | |
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE | |
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin13 -I./include -I. | |
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -fstack-protector -Wl,-u,_objc_msgSend -Wl,-pie -framework CoreFoundation | |
SOLIBS = -lgmp | |
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) | |
Target: x86_64-apple-darwin13.3.0 | |
Thread model: posix | |
compiling file.c | |
compiling gc.c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment