Skip to content

Commit 32970db

Browse files
committed
"make ARCHS=x86_64" fails to build
https://bugs.webkit.org/show_bug.cgi?id=159867 Reviewed by Dan Bernstein. * Makefile.shared: Override VALID_ARCHS when ARCHS is set, so that even projects that normally customize VALID_ARCHS wouldn't fail to build. Canonical link: https://commits.webkit.org/178037@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent d635605 commit 32970db

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2016-07-18 Alexey Proskuryakov <ap@apple.com>
2+
3+
"make ARCHS=x86_64" fails to build
4+
https://bugs.webkit.org/show_bug.cgi?id=159867
5+
6+
Reviewed by Dan Bernstein.
7+
8+
* Makefile.shared: Override VALID_ARCHS when ARCHS is set, so that even projects
9+
that normally customize VALID_ARCHS wouldn't fail to build.
10+
111
2016-07-18 Carlos Garcia Campos <cgarcia@igalia.com>
212

313
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.13.3 release.

Makefile.shared

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ ifneq (,$(ARCHS))
2424
else
2525
XCODE_OPTIONS := $(XCODE_OPTIONS) ARCHS="$(ARCHS)"
2626
XCODE_OPTIONS += ONLY_ACTIVE_ARCH=NO
27+
# Make Plugin.32 and Plugin.64 build even when they can't be built for the specified architecture.
28+
ifeq ($(ARCHS),i386)
29+
XCODE_OPTIONS += VALID_ARCHS=i386
30+
endif
31+
ifeq ($(ARCHS),x86_64)
32+
XCODE_OPTIONS += VALID_ARCHS=x86_64
33+
endif
2734
endif
2835
endif
2936

0 commit comments

Comments
 (0)