[EFL] libseccomp should pick up CC environment variable to be conform to other jhbuil...
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Nov 2014 13:41:46 +0000 (13:41 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Nov 2014 13:41:46 +0000 (13:41 +0000)
https://bugs.webkit.org/show_bug.cgi?id=139086

Reviewed by Gyuyoung Kim.

* efl/jhbuild.modules:
* efl/patches/libseccomp-pick-up-CC.patch: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@176562 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/efl/jhbuild.modules
Tools/efl/patches/libseccomp-pick-up-CC.patch [new file with mode: 0644]

index 231c536ee339dae3e26486cc1d21f6abe81bf508..8e8c6573a050e1307fb096cd5e5bb07ad126ae80 100644 (file)
@@ -1,3 +1,13 @@
+2014-11-28  Csaba Osztrogon√°c  <ossy@webkit.org>
+
+        [EFL] libseccomp should pick up CC environment variable to be conform to other jhbuild modules
+        https://bugs.webkit.org/show_bug.cgi?id=139086
+
+        Reviewed by Gyuyoung Kim.
+
+        * efl/jhbuild.modules:
+        * efl/patches/libseccomp-pick-up-CC.patch: Added.
+
 2014-11-28  Bartlomiej Gajda  <b.gajda@samsung.com>
 
         [EFL] Add warning if CMake version is too old for building with ninja.
index e8d9b88884b5fa1c5477877dc26569ba18cf7b80..0532c7f36e627d933fad793495ff843eb6ad250e 100644 (file)
   <autotools id="libseccomp" autogen-sh="configure">
       <branch module="libseccomp/libseccomp-2.1.0.tar.gz" version="2.1.0"
           repo="downloads.sourceforge.net"
-          hash="sha256:b0d6e4f0984e6632a04f0cf33c6babdb011674ba15ff208e196f037e0e09905e"/>
+          hash="sha256:b0d6e4f0984e6632a04f0cf33c6babdb011674ba15ff208e196f037e0e09905e">
+        <patch file="libseccomp-pick-up-CC.patch" strip="2"/>
+      </branch>
   </autotools>
 
   <autotools id="atk"
diff --git a/Tools/efl/patches/libseccomp-pick-up-CC.patch b/Tools/efl/patches/libseccomp-pick-up-CC.patch
new file mode 100644 (file)
index 0000000..233216f
--- /dev/null
@@ -0,0 +1,20 @@
+commit 84bf49aaa3a9bf44998b9de4143307a492453239
+Author: Csaba Osztrogon√°c <ossy@webkit.org>
+Date:   Fri Nov 28 01:53:02 2014 -0800
+
+    Pick up CC environment variable to be conform to other jhbuild modules.
+
+diff --git a/libseccomp-2.1.0/macros.mk b/libseccomp-2.1.0/macros.mk
+index 9c62fa7..62d8eed 100644
+--- a/libseccomp-2.1.0/macros.mk
++++ b/libseccomp-2.1.0/macros.mk
+@@ -66,6 +66,9 @@ AWK ?= awk
+ PYTHON ?= /usr/bin/env python
+ # we require gcc specific functionality
++ifeq ($(origin CC), environment)
++      GCC = $(CC)
++endif
+ GCC ?= gcc
+ INSTALL ?= install