Remove 32-bit specific flag.

This commit is contained in:
Pentarctagon 2021-06-28 09:11:44 -05:00
parent 253aca2c32
commit 08226655d5
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -6,16 +6,12 @@ Import("env")
binaries = ["wesnoth", "wesnothd"]
for bin in binaries:
#icon = env.Command(bin + "-icon.ico", join("../../icons", bin + "-icon.png"), "$IM_CONVERT $SOURCE $TARGET")
try:
env["RCCOM"] = '$RC $_CPPDEFFLAGS $RCINCFLAGS ${RCINCPREFIX} ${SOURCE.dir} $RCFLAGS -i $SOURCE -o $TARGET'
res = [env.RES(bin + ".rc", CPPPATH=["#/"])]
#env.Depends(res, icon)
except AttributeError:
res = []
env[bin + "_res"] = res
if env["multilib_arch"] == "32":
env.AppendUnique(RCFLAGS = Split("-F pe-i386"))
def WindowsInstaller(env, files):
files = [Entry(file) for file in Flatten(files)]