We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd5be16 commit 49562e7Copy full SHA for 49562e7
lldb/packages/Python/lldbsuite/test/macosx/add-dsym/Makefile
@@ -1,24 +1,14 @@
1
-CC ?= clang
2
-ifeq "$(ARCH)" ""
3
- ARCH = x86_64
4
-endif
5
-
6
-ifeq "$(OS)" ""
7
- OS = $(shell uname -s)
8
+C_SOURCES = main.c
9
10
-CFLAGS ?= -g -O0
+include Makefile.rules
11
12
-ifeq "$(OS)" "Darwin"
13
- CFLAGS += -arch $(ARCH)
14
+all: a.out.dSYM hide.app/Contents/a.out.dSYM
15
16
-all: main.c clean
+hide.app/Contents/a.out.dSYM:
17
mkdir hide.app
18
mkdir hide.app/Contents
19
- $(CC) $(CFLAGS) -g $<
20
mv a.out.dSYM hide.app/Contents
21
strip -x a.out
22
23
-clean:
24
- rm -rf a.out a.out.dSYM hide.app
+ifneq "$(CODESIGN)" ""
+ $(CODESIGN) -fs - a.out
+endif
0 commit comments