Skip to content

Commit

Permalink
Merge abd5669 into d27cb96
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyazub authored Oct 19, 2020
2 parents d27cb96 + abd5669 commit 0dd73c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/nokogiri/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def process_recipe(name, version, static_p, cross_p)
"--disable-shared",
"--enable-static",
]
env['CFLAGS'] = "-fPIC #{env['CFLAGS']}"
env['CFLAGS'] = "-fPIC -O2 -U_FORTIFY_SOURCE -g #{env['CFLAGS']}"
else
recipe.configure_options += [
"--enable-shared",
Expand Down Expand Up @@ -540,7 +540,6 @@ def configure
}]
recipe.configure_options += [
"CPPFLAGS=-Wall",
"CFLAGS=-O2 -g",
"CXXFLAGS=-O2 -g",
"LDFLAGS="
]
Expand Down

0 comments on commit 0dd73c4

Please sign in to comment.