scripts/feeds: add support for uninstalling targets
[openwrt/openwrt.git] / toolchain / llvm / patches / 100-darwin_arch_auto.patch
1 --- a/Makefile.rules
2 +++ b/Makefile.rules
3 @@ -618,16 +618,6 @@ ifdef UNIVERSAL
4
5 # Building universal cannot compute dependencies automatically.
6 DISABLE_AUTO_DEPENDENCIES=1
7 -else
8 - ifeq ($(TARGET_OS),Darwin)
9 - ifeq ($(ARCH),x86_64)
10 - TargetCommonOpts = -m64
11 - else
12 - ifeq ($(ARCH),x86)
13 - TargetCommonOpts = -m32
14 - endif
15 - endif
16 - endif
17 endif
18
19 ifeq ($(HOST_OS),SunOS)