File: cmake_flags.patch

package info (click to toggle)
o2 1.1~ds-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,416 kB
  • sloc: ansic: 11,340; python: 145; sh: 119; makefile: 73
file content (18 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Allow injection of additional CFLAGS
Author: IOhannes m zmölnig
Origin: Debian
Bug: https://github.com/rbdannenberg/o2/issues/21
Last-Update: 2022-10-03
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- o2.orig/CMakeLists.txt
+++ o2/CMakeLists.txt
@@ -192,7 +192,7 @@
                       ${COREMIDI_LIB} ${CORESERVICES_LIB})
   else(APPLE)
     # linux
-    set(CMAKE_C_FLAGS "-std=gnu99")
+    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
     set(PTHREAD_LIB pthread)
     # EXTRA_LO_LIBS is libraries needed by Liblo applications
     set(EXTRA_LO_LIBS asound ${PTHREAD_LIB} m)