Ejemplo n.º 1
0
def build_j2v8_optimize(config):
    # NOTE: execstack / strip are not part of the alpine tools, therefore we just skip this step
    if config.vendor == c.vendor_alpine:
        return ["echo Skipped..."]

    lib_path = u.outputLibPath(config)
    return [
        "execstack -c " + lib_path,
        "strip --strip-unneeded -R .note -R .comment " + lib_path,
    ]
Ejemplo n.º 2
0
def build_j2v8_optimize(config):
    # NOTE: execstack / strip are not part of the alpine tools, therefore we just skip this step
    if config.vendor == c.vendor_alpine:
        return ["echo Skipped..."]

    lib_path = u.outputLibPath(config)
    return [
        "execstack -c " + lib_path,
        "strip --strip-unneeded -R .note -R .comment " + lib_path,
    ]