We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-fPIC
1 parent 4fbc32d commit bc0f610Copy full SHA for bc0f610
ext/compact_enc_det/extconf.rb
@@ -3,11 +3,8 @@
3
4
compact_enc_det_path = File.expand_path("../compact_enc_det/compact_enc_det", __dir__)
5
6
-host_cpu = RbConfig::CONFIG['host_cpu']
7
-is_amd64 = host_cpu == 'x86_64' || host_cpu == 'amd64'
8
-
9
compact_enc_det_build_command = "cd #{compact_enc_det_path} &&"
10
-compact_enc_det_build_command += " CXXFLAGS=\"-fPIC\"" if is_amd64
+compact_enc_det_build_command += " CXXFLAGS=\"-fPIC\""
11
compact_enc_det_build_command += " ./autogen.sh"
12
13
unless system(compact_enc_det_build_command)
0 commit comments