Skip to content

Commit

Permalink
Merge pull request #36 from dsLeks/nortti-noexceptions
Browse files Browse the repository at this point in the history
Add -fno-rtti and -fno-exceptions
  • Loading branch information
dsLeks authored Dec 27, 2023
2 parents 7af79af + 5d5f0ed commit 70994dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CC ?= gcc # version?
CXX ?= g++
CPPFLAGS = -std=c++17 -Wall -Wextra -Wconversion -Werror $(EXTRA_CPPFLAGS)
CPPFLAGS = -std=c++17 -Wall -Wextra -Wconversion -Werror -fno-rtti -fno-exceptions $(EXTRA_CPPFLAGS)

# Add new source files here.
SRCS = lexer.cpp parser.cpp
Expand Down

0 comments on commit 70994dc

Please sign in to comment.