Skip to content

Commit

Permalink
Make sure that CFLAGS from the cmdline are honoured
Browse files Browse the repository at this point in the history
Origin: Debian
Bug: <URL to the upstream bug report if any, implies patch has been forwarded, optional>
Forwarded: no
Last-Update: 2025-01-11

Last-Update: 2025-01-11
Gbp-Pq: Name apply_CFLAGS.patch
  • Loading branch information
IOhannes m zmölnig authored and jaromil committed Jan 12, 2025
1 parent 9178c72 commit 8bf0322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/filter/levels/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Set C99 flag for gcc
if (CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_C_FLAGS "-std=c99")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
endif (CMAKE_COMPILER_IS_GNUCC)

set (SOURCES levels.c)
Expand Down
2 changes: 1 addition & 1 deletion src/filter/three_point_balance/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Set C99 flag for gcc
if (CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_C_FLAGS "-std=c99")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
endif (CMAKE_COMPILER_IS_GNUCC)

set (SOURCES three_point_balance.c)
Expand Down

0 comments on commit 8bf0322

Please sign in to comment.