pkgforge 0.24.1 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pkgforge/components/cflags.rb +7 -1
- data/lib/pkgforge/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 835fa4860840812bae9ae9c1d368c90343d541a471e72097c661ae63f9e1eb50
|
4
|
+
data.tar.gz: cc667edf08dbbd0f5a34ec221ee14298727ff41095f089d0bd0ccc8d84126517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef13ba61dcc4dcb3854c5cfced24a6e5b7362c4c4f94a45bc15a28c8e47121b8260465f6304f1d1acf1315349a84e9cdd9ca83bd663d186798607593603a7afa
|
7
|
+
data.tar.gz: 34f29cc8abcb67ad0d9aa7b4cb1ba27dc41971d656f41250daa85de36cf26bd940e4c3c6483100e19a9556a4cddf9d2af23b563c9d68330c6f5f50ef3463d2d5
|
@@ -46,7 +46,7 @@ module PkgForge
|
|
46
46
|
implicit: %w[-Werror=implicit-function-declaration],
|
47
47
|
lazybinding: %w[-Wl,-z,now],
|
48
48
|
optimize: %w[-O2],
|
49
|
-
pic: %w[-fPIC
|
49
|
+
pic: %w[-fPIC],
|
50
50
|
pie: %w[-fpie -Wl,-pie],
|
51
51
|
relro: %w[-Wl,-z,relro],
|
52
52
|
stackclash: %w[-fstack-clash-protection],
|
@@ -62,6 +62,12 @@ module PkgForge
|
|
62
62
|
@forge.cflags += harden_opts.values.flatten
|
63
63
|
nil
|
64
64
|
end
|
65
|
+
|
66
|
+
STATIC_OPTS = %w[-static].freeze
|
67
|
+
Contract None => nil
|
68
|
+
def static
|
69
|
+
@forge.cflags += STATIC_OPTS.dup
|
70
|
+
end
|
65
71
|
end
|
66
72
|
end
|
67
73
|
end
|
data/lib/pkgforge/version.rb
CHANGED