mirror of
https://github.com/darlinghq/darling-Libc.git
synced 2024-11-23 12:40:02 +00:00
Relocate Darling Specific Files Into "darling" Folder
This commit is contained in:
parent
8bfa55d8c7
commit
67fd4caeb8
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
pushd $(dirname "$0") > /dev/null
|
||||
SCRIPTDIR=$(pwd -P)
|
||||
popd > /dev/null
|
||||
|
||||
export SRCROOT="$SCRIPTDIR/.."
|
||||
export ARCHS="x86_64 i386 arm64 arm ppc"
|
||||
export DERIVED_FILES_DIR="$SRCROOT/derived"
|
||||
export VARIANT_PLATFORM_NAME="macosx"
|
||||
|
||||
$SRCROOT/xcodescripts/generate_features.pl
|
13
darling/assets/libc-features.h
Normal file
13
darling/assets/libc-features.h
Normal file
@ -0,0 +1,13 @@
|
||||
#if defined(__i386__)
|
||||
#include "i386/libc-features.h"
|
||||
#elif defined(__x86_64__)
|
||||
#include "x86_64/libc-features.h"
|
||||
#elif defined(__ppc__)
|
||||
#include "ppc/libc-features.h"
|
||||
#elif defined(__arm64__)
|
||||
#include "arm64/libc-features.h"
|
||||
#elif defined(__arm__)
|
||||
#include "arm/libc-features.h"
|
||||
#else
|
||||
#error "Unsupported architecture!"
|
||||
#endif
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user