From 44eb48ca1690ecc298cb3c9b41f6ed96a424bff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 27 Mar 2021 13:52:50 +0700 Subject: [PATCH] libopenglrecorder: remove -O3 --- srcpkgs/libopenglrecorder/patches/fix-cflags.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/libopenglrecorder/patches/fix-cflags.patch diff --git a/srcpkgs/libopenglrecorder/patches/fix-cflags.patch b/srcpkgs/libopenglrecorder/patches/fix-cflags.patch new file mode 100644 index 00000000000..7c48a0d2d82 --- /dev/null +++ b/srcpkgs/libopenglrecorder/patches/fix-cflags.patch @@ -0,0 +1,13 @@ +Index: CMakeLists.txt +=================================================================== +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -21,7 +21,7 @@ if (UNIX OR MINGW) + if (CMAKE_BUILD_TYPE MATCHES Debug) + add_definitions(-std=gnu++0x -O0) + else() +- add_definitions(-std=gnu++0x -O3) ++ add_definitions(-std=gnu++0x) + endif() + endif() +