mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Windows update extconf.rb (#2069)
for use with ssp and varied Ruby/MSYS2 combinations
This commit is contained in:
parent
d20242b2ec
commit
5fef2b715f
2 changed files with 5 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
* Bugfixes
|
||||
* Your bugfix goes here (#Github Number)
|
||||
* Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069)
|
||||
|
||||
## 4.3.0 / 2019-11-07
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
require 'mkmf'
|
||||
|
||||
dir_config("puma_http11")
|
||||
if RUBY_PLATFORM[/mingw32/]
|
||||
append_cflags '-D_FORTIFY_SOURCE=2'
|
||||
append_ldflags '-fstack-protector'
|
||||
|
||||
if $mingw
|
||||
append_cflags '-fstack-protector-strong -D_FORTIFY_SOURCE=2'
|
||||
append_ldflags '-fstack-protector-strong -l:libssp.a'
|
||||
have_library 'ssp'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue