Skip to content

Commit

Permalink
Alternate flag for thin archives.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Oct 8, 2024
1 parent 1f2ebe8 commit e154e41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/c.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class Toolchain:
cxxfile = ["$(CXX) -c -o {outs[0]} {ins[0]} $(CFLAGS) {cflags}"]
clibrary = ["$(AR) cqs {outs[0]} {ins}"]
cxxlibrary = ["$(AR) cqs {outs[0]} {ins}"]
clibraryt = ["$(AR) cqsT {outs[0]} {ins}"]
cxxlibraryt = ["$(AR) cqsT {outs[0]} {ins}"]
clibraryt = ["$(AR) cqs --thin {outs[0]} {ins}"]
cxxlibraryt = ["$(AR) cqs --thin {outs[0]} {ins}"]
cprogram = ["$(CC) -o {outs[0]} {ins} {ldflags} $(LDFLAGS)"]
cxxprogram = ["$(CXX) -o {outs[0]} {ins} {ldflags} $(LDFLAGS)"]

Expand All @@ -29,8 +29,8 @@ class HostToolchain:
cxxfile = ["$(HOSTCXX) -c -o {outs[0]} {ins[0]} $(HOSTCFLAGS) {cflags}"]
clibrary = ["$(HOSTAR) cqs {outs[0]} {ins}"]
cxxlibrary = ["$(HOSTAR) cqs {outs[0]} {ins}"]
clibraryt = ["$(HOSTAR) cqs {outs[0]} {ins}"]
cxxlibraryt = ["$(HOSTAR) cqs {outs[0]} {ins}"]
clibraryt = ["$(HOSTAR) cqs --thin {outs[0]} {ins}"]
cxxlibraryt = ["$(HOSTAR) cqs --thin {outs[0]} {ins}"]
cprogram = ["$(HOSTCC) -o {outs[0]} {ins} {ldflags} $(HOSTLDFLAGS)"]
cxxprogram = ["$(HOSTCXX) -o {outs[0]} {ins} {ldflags} $(HOSTLDFLAGS)"]

Expand Down

0 comments on commit e154e41

Please sign in to comment.