summaryrefslogtreecommitdiffstats
path: root/notekit
diff options
context:
space:
mode:
authorLyes Saadi <mail@lyes.eu>2020-11-20 23:05:43 +0100
committerLyes Saadi <mail@lyes.eu>2020-11-20 23:05:43 +0100
commit2990c420322e26b90c4b12062c8a000240cdd7de (patch)
tree0f8dbfa1c85c0554450c8e5f30cad8e1038c62b1 /notekit
parentebbaf25663977a3c6bd5387d86bb7e30ae5f8c96 (diff)
downloadspec-2990c420322e26b90c4b12062c8a000240cdd7de.tar.gz
spec-2990c420322e26b90c4b12062c8a000240cdd7de.tar.xz
spec-2990c420322e26b90c4b12062c8a000240cdd7de.zip
Solving the cLaTeXMath issue 🎉!
Diffstat (limited to 'notekit')
-rw-r--r--notekit/clatexmath/cLaTeXMath.spec3
-rw-r--r--notekit/notekit/notekit.spec1
2 files changed, 4 insertions, 0 deletions
diff --git a/notekit/clatexmath/cLaTeXMath.spec b/notekit/clatexmath/cLaTeXMath.spec
index cbe533c..4593740 100644
--- a/notekit/clatexmath/cLaTeXMath.spec
+++ b/notekit/clatexmath/cLaTeXMath.spec
@@ -12,6 +12,8 @@ License: MIT and OFL and Knuth and DoubleStroke
URL: %{forgeurl}
Source0: %{forgesource}
+BuildRequires: meson
+BuildRequires: gcc-c++
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gtkmm-3.0)
BuildRequires: pkgconfig(gtksourceviewmm-3.0)
@@ -42,6 +44,7 @@ Requires: pkgconfig(gtksourceviewmm-3.0)
%build
+CXXFLAGS="${CXXFLAGS:--O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection}" ; export CXXFLAGS ;
%meson
%meson_build
diff --git a/notekit/notekit/notekit.spec b/notekit/notekit/notekit.spec
index 13c1a13..e25fb8c 100644
--- a/notekit/notekit/notekit.spec
+++ b/notekit/notekit/notekit.spec
@@ -16,6 +16,7 @@ Source0: %{forgesource}
Patch0: https://patch-diff.githubusercontent.com/raw/blackhole89/notekit/pull/60.diff
BuildRequires: meson
+BuildRequires: gcc-c++
BuildRequires: git-core
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib