Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

rbutil: Pass isysroot to rbutil libs on macOS.

On macOS we pass the full path to the compiler. On recent versions this
causes the compiler to not find its SDK path, this needs to get passed
via the isysroot option.

Change-Id: Iea2820e1755cc80e12691119dfa31d70938ea511

+20
+3
rbutil/libtools.make
··· 75 75 # that to determine if we need to set arch and isysroot. 76 76 ifeq ($(findstring __clang__,$(CPPDEFINES)),__clang__) 77 77 GCCFLAGS += -mmacosx-version-min=10.5 78 + ifneq ($(ISYSROOT),) 79 + GCCFLAGS += -isysroot $(ISYSROOT) 80 + endif 78 81 else 79 82 # when building libs for OS X 10.4+ build for both i386 and ppc at the same time. 80 83 # This creates fat objects, and ar can only create the archive but not operate
+1
rbutil/rbutilqt/Makefile.libs
··· 32 32 export CC=$(EXTRALIBS_CC) 33 33 export CXX=$(EXTRALIBS_CXX) 34 34 export AR=$(EXTRALIBS_AR) 35 + export ISYSROOT=$(EXTRALIB_ISYSROOT) 35 36 36 37 libs: librbspeex libucl libipodpatcher libsansapatcher libmkamsboot libmktccboot libmkmpioboot libchinachippatcher libmkimxboot libmks5lboot libbzip2 libbspatch librbtomcrypt 37 38
+6
rbutil/rbutilqt/rbutilqt.pro
··· 35 35 EXTRALIBS_OPTS += EXTRALIBS_CXX=\"$$QMAKE_CXX\" 36 36 EXTRALIBS_OPTS += EXTRALIB_CFLAGS=\"$$MACHINEFLAGS\" 37 37 EXTRALIBS_OPTS += EXTRALIB_CXXFLAGS=\"$$MACHINEFLAGS\" 38 + macx { 39 + # on recent macOS we need to pass isysroot to the libs, otherwise it won't find 40 + # the standard libaries. This is caused by the passed compiler (doesn't rely on 41 + # default compiler but passed full path) 42 + EXTRALIBS_OPTS += EXTRALIB_ISYSROOT=\"$$QMAKE_MAC_SDK.macosx.Path\" 43 + } 38 44 39 45 MYBUILDDIR = $$OUT_PWD/build/ 40 46 MYLIBBUILDDIR = $$MYBUILDDIR/libs/
+3
tools/rbspeex/Makefile
··· 41 41 # that to determine if we need to set arch and isysroot. 42 42 ifeq ($(findstring __clang__,$(CPPDEFINES)),__clang__) 43 43 CFLAGS += -mmacosx-version-min=10.5 44 + ifneq ($(ISYSROOT),) 45 + CFLAGS += -isysroot $(ISYSROOT) 46 + endif 44 47 else 45 48 # when building libs for OS X 10.4+ build for both i386 and ppc at the same time. 46 49 # This creates fat objects, and ar can only create the archive but not operate
+3
tools/ucl/src/Makefile
··· 36 36 # that to determine if we need to set arch and isysroot. 37 37 ifeq ($(findstring __clang__,$(CPPDEFINES)),__clang__) 38 38 CFLAGS += -mmacosx-version-min=10.5 39 + ifneq ($(ISYSROOT),) 40 + CFLAGS += -isysroot $(ISYSROOT) 41 + endif 39 42 else 40 43 # when building libs for OS X 10.4+ build for both i386 and ppc at the same time. 41 44 # This creates fat objects, and ar can only create the archive but not operate
+4
utils/tomcrypt/Makefile
··· 16 16 CFLAGS := -O3 -g -std=c99 -Wall $(DEFINES) -Isrc/headers 17 17 LDFLAGS := 18 18 19 + ifneq ($(ISYSROOT),) 20 + CFLAGS += -isysroot $(ISYSROOT) 21 + endif 22 + 19 23 SOURCES := \ 20 24 src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c \ 21 25 src/misc/crypt/crypt_argchk.c src/misc/crypt/crypt_register_cipher.c src/misc/crypt/crypt_cipher_is_valid.c src/misc/crypt/crypt_cipher_descriptor.c \