Bai Miao hace 2 años
padre
commit
82395c95e7
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2 4
      packages/o/openssl/xmake.lua

+ 2 - 4
packages/o/openssl/xmake.lua

@@ -109,8 +109,7 @@ package("openssl")
             table.insert(configs, "--debug")
         end
         os.vrunv("./config", configs, {envs = buildenvs})
-        local makeconfigs = {CFLAGS = buildenvs.CFLAGS, ASFLAGS = buildenvs.ASFLAGS}
-        import("package.tools.make").build(package, makeconfigs)
+        import("package.tools.make").build(package)
         import("package.tools.make").make(package, {"install_sw"})
         if package:config("shared") then
             os.tryrm(path.join(package:installdir("lib"), "*.a"))
@@ -147,8 +146,7 @@ package("openssl")
                          "--prefix=" .. package:installdir()}
         local buildenvs = import("package.tools.autoconf").buildenvs(package)
         os.vrunv("./Configure", configs, {envs = buildenvs})
-        local makeconfigs = {CFLAGS = buildenvs.CFLAGS, ASFLAGS = buildenvs.ASFLAGS}
-        import("package.tools.make").build(package, makeconfigs)
+        import("package.tools.make").build(package)
         import("package.tools.make").make(package, {"install_sw"})
     end)