libtest/dl12: Fix build issue

Updated from ld to gcc in the build script to ensure consistency in ABI
flags during the creation of incrementally linked objects.

Update #5053
This commit is contained in:
Ranulfo Raphael
2024-06-24 18:45:28 -03:00
committed by Kinsey Moore
parent 39da0b7fd4
commit 19d8888ac6

View File

@@ -10,7 +10,7 @@ do-build: |
objs.append(self.cc(bld, bic, path + "dl12-o1.c"))
objs.append(self.cc(bld, bic, path + "dl12-o2.c"))
def ld(self, bld, bic, flags, source, target):
bld(rule="${LD} " + flags + " ${SRC} -o ${TGT}",
bld(rule="${CC} ${ABI_FLAGS} " + flags + " ${SRC} -o ${TGT}",
source=source,
target=target)
return target