Skip to content

Commit 3897415

Browse files
committed
---
yaml --- r: 138391 b: refs/heads/master c: dd55c80 h: refs/heads/master i: 138389: 7daeb38 138387: 5b8598c 138383: 9e9593a v: v3
1 parent ca77ce6 commit 3897415

File tree

7 files changed

+61
-720
lines changed

7 files changed

+61
-720
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: e8cc3f26ec998181a883d79c9a668fe55695e681
2+
refs/heads/master: dd55c8003cb9c4b065e8a8e54bbc0496ac0a3dfd
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5

trunk/mk/rt.mk

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,15 +284,16 @@ endif
284284
# ./configure script. This is done to force libbacktrace to *not* use the
285285
# atomic/sync functionality because it pulls in unnecessary dependencies and we
286286
# never use it anyway.
287+
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: \
288+
export CFLAGS:=$$(CFG_GCCISH_CFLAGS_$(1):-Werror=) \
289+
-fno-stack-protector
290+
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: export CC:=$$(CC_$(1))
291+
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: export AR:=$$(AR_$(1))
292+
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: export RANLIB:=$$(AR_$(1)) s
287293
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: $$(BACKTRACE_DEPS) $$(MKFILE_DEPS)
288-
@$$(call E, configure: libbacktrace for $(1))
289294
$$(Q)rm -rf $$(BACKTRACE_BUILD_DIR_$(1))
290295
$$(Q)mkdir -p $$(BACKTRACE_BUILD_DIR_$(1))
291296
$$(Q)(cd $$(BACKTRACE_BUILD_DIR_$(1)) && \
292-
CC="$$(CC_$(1))" \
293-
AR="$$(AR_$(1))" \
294-
RANLIB="$$(AR_$(1)) s" \
295-
CFLAGS="$$(CFG_GCCISH_CFLAGS_$(1):-Werror=) -fno-stack-protector" \
296297
$(S)src/libbacktrace/configure --target=$(1) --host=$(CFG_BUILD))
297298
$$(Q)echo '#undef HAVE_ATOMIC_FUNCTIONS' >> \
298299
$$(BACKTRACE_BUILD_DIR_$(1))/config.h

0 commit comments

Comments
 (0)