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

commit c9a8807dae43d1c0a569fa15dac828039c06f2aa
Author: James Buren <[email protected]>
Date:   Wed Oct 8 19:16:43 2014 -0500

scons: check if the CPU architecture is a known supported one

diff --git a/SConstruct b/SConstruct
index 0d51125..ce5edb6 100755
--- a/SConstruct
+++ b/SConstruct
@@ -53,6 +53,10 @@ if not cfg.CheckPlatform():
print('Cannot determine the computer platform.')
Exit(1)

+if not cfg.env['HOST_ARCH'] in [ 'i686', 'x86_64' ]:
+       print('Unsupported CPU architecture (%s).' % cfg.env['HOST_ARCH'])
+       Exit(1)
+
env = cfg.Finish()

env.ParseConfig('pkg-config --cflags --libs libarchive libcurl')
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to