Fix dropping system C_FLAGS
This commit is contained in:
parent
19a4a14cb9
commit
e2bb965cc0
2 changed files with 2 additions and 8 deletions
|
@ -53,12 +53,6 @@ steps:
|
|||
api_key:
|
||||
from_secret: gitea_token
|
||||
base_url: https://git.serguzim.me
|
||||
checksum:
|
||||
- md5
|
||||
- sha256
|
||||
- sha512
|
||||
files:
|
||||
- emgauwa-core.conf
|
||||
title: ${DRONE_TAG}
|
||||
|
||||
when:
|
||||
|
|
|
@ -8,8 +8,8 @@ add_executable(core src/main.c)
|
|||
target_link_libraries(core -lsqlite3)
|
||||
target_link_libraries(core -luuid)
|
||||
|
||||
set(CMAKE_C_FLAGS "$ENV{CFLAGS}")
|
||||
set(CMAKE_C_FLAGS "-D'__FILENAME__=\"$(subst $(realpath ${CMAKE_SOURCE_DIR}/src/)/,,$(abspath $<))\"'")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} $ENV{CFLAGS}")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D'__FILENAME__=\"$(subst $(realpath ${CMAKE_SOURCE_DIR}/src/)/,,$(abspath $<))\"'")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -std=gnu99 -Wpedantic -Werror -Wall -Wextra")
|
||||
|
||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g -fprofile-arcs -ftest-coverage")
|
||||
|
|
Loading…
Reference in a new issue