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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a8b62896cc531bc84b2b6c6a5600c1a1e80500575780774582735ee733435d2
4
- data.tar.gz: 6031bc12a4dad2c465e5d65eef6ca21ab307cb6de9a25eb72a704f742190d972
3
+ metadata.gz: 835fa4860840812bae9ae9c1d368c90343d541a471e72097c661ae63f9e1eb50
4
+ data.tar.gz: cc667edf08dbbd0f5a34ec221ee14298727ff41095f089d0bd0ccc8d84126517
5
5
  SHA512:
6
- metadata.gz: 3804ea5d5abc64fa54112bf82ef48b5fc911af705b9b59336b926ac3e731dc056c6adb10a1c6928f143deb5599b9b18b9a9e8d56e6bbba5b64b786d5031edd78
7
- data.tar.gz: f7dfb251f729807a3540396509aee273963a496f061b7b67f80d4ee091ce3dbc83f3c044263d96d90736a087fcaeafd466b6a04e6980d551663289a867e2ae8c
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 -shared],
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
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Declare version number
3
3
  module PkgForge
4
- VERSION = '0.24.1'.freeze
4
+ VERSION = '0.25.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkgforge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.1
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker