Files
clang-p2996/lldb/test/API/lang/objc/objc-ivar-stripped/Makefile
Fred Riss 59918d3793 [lldb/testsuite] Make TestObjCIvarStripped.py working with codesigning
This test was stripping a binary generated by Makefile.rules which is
potentially codesigned. Stripping invalidates the code signature, so
we might need to re-sign after stripping.
2020-03-18 20:52:28 -07:00

13 lines
239 B
Makefile

OBJC_SOURCES := main.m
LD_EXTRAS := -lobjc -framework Foundation
all: a.out.stripped
include Makefile.rules
a.out.stripped: a.out.dSYM
strip -o a.out.stripped a.out
ifneq "$(CODESIGN)" ""
$(CODESIGN) -fs - a.out.stripped
endif