Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=d52f872818755a0fe57558aacf8c284dc5eef6c8

commit d52f872818755a0fe57558aacf8c284dc5eef6c8
Author: James Buren <[email protected]>
Date:   Wed Oct 8 18:18:27 2014 -0500

scons: set c99 mode when compiling C and c++11 mode when compiling C++

diff --git a/SConstruct b/SConstruct
index 7bf5612..aa9587b 100755
--- a/SConstruct
+++ b/SConstruct
@@ -37,6 +37,8 @@ if not cfg.CheckPKG('libcurl'):
env = cfg.Finish()

env.ParseConfig('pkg-config --cflags --libs libarchive libcurl')
+env.Append(CFLAGS = '-std=c99')
+env.Append(CXXFLAGS = '-std=c++11')

try:
debug = int(ARGUMENTS.get('debug', 0))
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to