[gnome-build-meta/abderrahim/includes: 3/4] use more include files from freedesktop-sdk
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/includes: 3/4] use more include files from freedesktop-sdk
- Date: Sun, 6 Mar 2022 06:02:55 +0000 (UTC)
commit 771d2bed9d3f43506f21200b039e967bc4c69875
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Sat Mar 5 16:57:50 2022 +0100
use more include files from freedesktop-sdk
project.conf | 44 +-------------------------------------------
1 file changed, 1 insertion(+), 43 deletions(-)
---
diff --git a/project.conf b/project.conf
index 0d530c943..6fb7e324d 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,30 +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}"
- - 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
(?):
@@ -266,26 +243,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]