Skip to content

Commit

Permalink
Fix C flags
Browse files Browse the repository at this point in the history
  • Loading branch information
dargueta committed Nov 20, 2024
1 parent 501ea2d commit 7730b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
# We need to disable the newline-eof warning because third-party code trips the
# warning. We could use `-isystem` instead of `-I` for adding include paths to
# third-party headers, but that's specific to GCC and Clang.
USER_CXX_FLAGS: -Wall -Wextra -Werror -Wpedantic -pedantic-errors -Wno-newline-eof
USER_CFLAGS: -Wall -Wextra -Werror -Wpedantic -pedantic-errors -Wno-newline-eof
- name: Run tests
run: luarocks test
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ LIB_PATH_FLAGS = $(addprefix -L,$(LIBRARY_DIRECTORIES))
REQUIRED_LIBS = unicorn pthread
REQUIRED_LIBS_FLAGS = $(addprefix -l,$(REQUIRED_LIBS))

C_CMD = $(CC) $(INCLUDE_PATH_FLAGS) $(CFLAGS) $(USER_C_FLAGS)
C_CMD = $(CC) $(INCLUDE_PATH_FLAGS) $(CFLAGS) $(USER_CFLAGS)
LINK_CMD = $(LD) $(LIB_PATH_FLAGS) $(LDFLAGS)


Expand Down

0 comments on commit 7730b35

Please sign in to comment.