summaryrefslogtreecommitdiff
path: root/sys-fs/ffmpegfs/files/ffmpegfs-2.16-cflags.patch
blob: 2bc78e2182460b8f17d267452d7853176984fd65 (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
Respect user's CFLAGS

--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
 if DEBUG
 export OPTIMISATION = -DDEBUG -ggdb -fstack-protector-explicit
 else
-export OPTIMISATION = -DNDEBUG -Ofast -g
+export OPTIMISATION = -DNDEBUG
 endif
 
 export WARNINGS = -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wpedantic
--- a/configure.ac
+++ b/configure.ac
@@ -19,8 +19,6 @@ AC_CANONICAL_HOST
 AC_DEFINE_UNQUOTED([HOST_OS], ["$host_os"], [Host operating system])
 
 # compiler flags
-CFLAGS=""
-CXXFLAGS=""
 
 # Checks for programs
 AC_PROG_CC