Skip to content

Instantly share code, notes, and snippets.

/01.make Secret

Created March 21, 2015 11:44
Show Gist options
  • Save anonymous/cf1a4989d76eee8bee07 to your computer and use it in GitHub Desktop.
Save anonymous/cf1a4989d76eee8bee07 to your computer and use it in GitHub Desktop.
2015-03-21 06:41:27 -0500
make
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/disp.c -o src/disp.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/error_flag.c -o src/error_flag.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/logos.c -o src/logos.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/main.c -o src/main.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/util.c -o src/util.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/plat/darwin/detect.c -o src/plat/darwin/detect.o
src/plat/darwin/detect.c:60:8: error: use of undeclared identifier 'distro_name_str'
fgets(distro_name_str, MAX_STRLEN, distro_file);
^
src/plat/darwin/detect.c:63:43: error: use of undeclared identifier 'distro_name_str'
snprintf(str, MAX_STRLEN, "Mac OS X %s", distro_name_str);
^
/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
2 errors generated.
make: *** [src/plat/darwin/detect.o] Error 1
make: *** Waiting for unfinished jobs....
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 7230e677ac7c205533d5e7d87db2eb4e0b5b067a
Last commit: 9 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit haswell
OS X: 10.10.2-x86_64
Xcode: 6.2
CLT: 6.2.0.0.1.1424975374
GCC-4.2: build 0
Clang: 6.0 build 600
X11: N/A
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: N/A
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
gcc called with: -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/main.c -o src/main.o
superenv removed: -O3 -Wall -Wformat -Wunused-variable -pedantic
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/main.c -o src/main.o -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/logos.c -o src/logos.o
superenv removed: -O3 -Wall -Wformat -Wunused-variable -pedantic
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/logos.c -o src/logos.o -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/disp.c -o src/disp.o
superenv removed: -O3 -Wall -Wformat -Wunused-variable -pedantic
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/disp.c -o src/disp.o -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/plat/darwin/detect.c -o src/plat/darwin/detect.o
superenv removed: -O3 -Wall -Wformat -Wunused-variable -pedantic
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/plat/darwin/detect.c -o src/plat/darwin/detect.o -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/error_flag.c -o src/error_flag.o
superenv removed: -O3 -Wall -Wformat -Wunused-variable -pedantic
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/error_flag.c -o src/error_flag.o -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/util.c -o src/util.o
superenv removed: -O3 -Wall -Wformat -Wunused-variable -pedantic
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/util.c -o src/util.o -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment