Skip to content

Commit

Permalink
Merge pull request #183 from Zabrane/Zabrane-drop-debug-flag
Browse files Browse the repository at this point in the history
Drop "-g" flag from default options to reduce "exec-port" binary size
  • Loading branch information
saleyn authored Nov 12, 2024
2 parents 8cf9bb8 + bd1123b commit fa15819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CXX ?= g++
ERL_CXXFLAGS ?= $(shell erl -noshell -noinput -eval 'io:format("-I~ts/erts-~ts/include -I~ts", [code:root_dir(), erlang:system_info(version), code:lib_dir(erl_interface, include)]), halt(0).')
ERL_LDFLAGS ?= $(shell erl -noshell -noinput -eval 'io:format("-L~ts", [code:lib_dir(erl_interface, lib)]), halt(0).')

CXXFLAGS += -g -std=c++11 -finline-functions -Wall -DHAVE_PTRACE -MMD
CXXFLAGS += -std=c++11 -finline-functions -Wall -DHAVE_PTRACE -MMD
USE_POLL ?= 1

UNAME_SYS := $(shell uname -s | tr 'A-Z' 'a-z')
Expand Down

0 comments on commit fa15819

Please sign in to comment.