Skip to content

Commit

Permalink
Use older gnu2x standard name
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL authored Feb 23, 2025
1 parent cafbbe9 commit bad0e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ file(GLOB_RECURSE sources "${SRC_DIR}/*.c" "${SRC_DIR}/*.h")
add_executable(memsed "${sources}")

# Compiler flags
target_compile_options(memsed PRIVATE -std=gnu23) # Standard
target_compile_options(memsed PRIVATE -std=gnu2x) # Standard
target_compile_options(memsed PRIVATE -Wall -Wextra -Wstrict-prototypes -Wredundant-decls -Wundef) # Warnings
target_compile_options(memsed PRIVATE -fdata-sections -ffunction-sections -fno-math-errno) # Optimizations

Expand Down

0 comments on commit bad0e0a

Please sign in to comment.