[gnome-build-meta/jjardon/gnome-42rc: 5/7] use more include files from freedesktop-sdk
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/jjardon/gnome-42rc: 5/7] use more include files from freedesktop-sdk
- Date: Sat, 12 Mar 2022 22:07:20 +0000 (UTC)
commit 4b798196a332e78178ea5a8586e3b8f74b65511f
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Sat Mar 5 16:57:50 2022 +0100
use more include files from freedesktop-sdk
elements/sdk/webkitgtk.inc | 11 +----------
project.conf | 43 +------------------------------------------
2 files changed, 2 insertions(+), 52 deletions(-)
---
diff --git a/elements/sdk/webkitgtk.inc b/elements/sdk/webkitgtk.inc
index 3bfb531ff..a9e144646 100644
--- a/elements/sdk/webkitgtk.inc
+++ b/elements/sdk/webkitgtk.inc
@@ -53,18 +53,9 @@ variables:
webkitgtk_toolchain: ''
(?):
- arch == "i686" or arch == "arm":
+ debug_flags: "-g1"
webkitgtk_toolchain: -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=toolchain.%{arch}
-(?):
-- arch == "i686":
- environment:
- CFLAGS: '%{flags_i686} -g1'
- CXXFLAGS: '%{flags_i686} -g1'
-- arch == "arm":
- environment:
- CFLAGS: '%{flags_arm} -g1'
- CXXFLAGS: '%{flags_arm} -g1'
-
public:
cpe:
product: webkitgtk+
diff --git a/project.conf b/project.conf
index a7e389df9..e51d2f9df 100644
--- a/project.conf
+++ b/project.conf
@@ -18,7 +18,7 @@ fatal-warnings:
- overlaps
(@):
-- freedesktop-sdk.bst:include/strip.yml
+- freedesktop-sdk.bst:include/runtime.yml
- include/aliases.yml
- include/mirrors.yml
@@ -48,22 +48,7 @@ options:
environment:
LC_ALL: en_US.UTF-8
(?):
- - arch == "x86_64":
- CFLAGS: "%{flags_x86_64}"
- CXXFLAGS: "%{flags_x86_64}"
- LDFLAGS: "%{ldflags_defaults}"
- - arch == "i686":
- CFLAGS: "%{flags_i686}"
- CXXFLAGS: "%{flags_i686}"
- LDFLAGS: "%{ldflags_defaults}"
- - arch == "arm":
- CFLAGS: "%{flags_arm}"
- CXXFLAGS: "%{flags_arm}"
- LDFLAGS: "%{ldflags_defaults}"
- arch == "aarch64":
- CFLAGS: "%{flags_aarch64}"
- CXXFLAGS: "%{flags_aarch64}"
- LDFLAGS: "%{ldflags_defaults}"
# Our aarch64 CI runner uses CentOS, which uses 64 KB page sizes, but we do not
# want to support large pages in WebKit as this requires disabling both JIT and
# bmalloc, including all heap security features. As a workaround until the CI
@@ -74,14 +59,7 @@ environment:
# when the aarch64 CI no longer uses CentOS.
JavaScriptCoreUseJIT: '0'
Malloc: '1'
- - arch == "ppc64le":
- CFLAGS: "%{flags_ppc64le}"
- CXXFLAGS: "%{flags_ppc64le}"
- LDFLAGS: "%{ldflags_defaults}"
- arch == "riscv64":
- CFLAGS: "%{flags_riscv64}"
- CXXFLAGS: "%{flags_riscv64}"
- LDFLAGS: "%{ldflags_defaults}"
G_SLICE: always-malloc
(?):
@@ -276,26 +254,7 @@ variables:
ostree-layer: user
ostree-branch: "gnome-os/%{branch}/%{arch}-%{ostree-layer}"
ostree-remote-url: "https://ostree.gnome.org/repo"
- gcc_arch: "%{arch}"
- abi: "gnu"
- gcc_triplet: "%{gcc_arch}-linux-%{abi}"
- triplet: "%{arch}-unknown-linux-%{abi}"
- lib: "lib/%{gcc_triplet}"
- sbindir: "%{bindir}"
- sysconfdir: "/etc"
- localstatedir: "/var"
- indep-libdir: "%{prefix}/lib"
- debugdir: "%{indep-libdir}/debug"
runstatedir: "/run"
- common_flags: "-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches"
- flags_x86_64: "-march=x86-64 -mtune=generic %{common_flags} -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer %{local_flags}"
- flags_i686: "-march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign %{common_flags}
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection %{local_flags}"
- flags_aarch64: "%{common_flags} -fasynchronous-unwind-tables -fstack-clash-protection
-fno-omit-frame-pointer %{local_flags}"
- flags_arm: "%{common_flags} %{local_flags}"
- flags_ppc64le: "%{common_flags} -mcpu=power9 -mtune=power9 -fno-omit-frame-pointer %{local_flags}"
- flags_riscv64: "%{common_flags} -fasynchronous-unwind-tables -fstack-clash-protection %{local_flags}"
- ldflags_defaults: "-Wl,-z,relro,-z,now -Wl,--as-needed -L%{libdir}"
- local_flags: ''
(?):
- arch == "x86_64":
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]