blob: 1cc2974b393c3ea9c6299999052421f0e565233f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
Don't clobber our toolchain defaults.
https://bugs.gentoo.org/895260
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -100,7 +100,6 @@ set(flags_to_test
-Wformat-security
-fPIE
-fPIC
- -D_FORTIFY_SOURCE=2
/GS
/sdl)
if(MSVC)
--- a/gstreamer-plugin/CMakeLists.txt
+++ b/gstreamer-plugin/CMakeLists.txt
@@ -25,8 +25,7 @@ set(flags_to_test
-fstack-protector-strong
-fPIE
-fPIC
- -flto
- -D_FORTIFY_SOURCE=2)
+ -flto)
if(NOT MSVC)
list(INSERT flags_to_test 0 -Wall)
else()
--- a/gstreamer-plugin/meson.build
+++ b/gstreamer-plugin/meson.build
@@ -22,7 +22,6 @@ svthevcenc_dep = dependency('SvtHevcEnc')
cc = meson.get_compiler('c')
cc_flags = [
'-O2',
- '-D_FORTIFY_SOURCE=2',
'-Wformat',
'-Wformat-security',
'-fPIE',
|