mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
0872e220cf
Summary: Build from source crash in debug mode on other linux distributions except ubuntu Changelog: Link incompatible target in debug mode (https://github.com/facebook/react-native/issues/32595) Pull Request resolved: https://github.com/facebook/react-native/pull/32648 Reviewed By: ShikaSD Differential Revision: D32642360 Pulled By: cortinico fbshipit-source-id: 6b35c560aca3d2e8d30b24a3b800ebfd9b35bda2
30 lines
636 B
Makefile
30 lines
636 B
Makefile
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := react_debug
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../
|
|
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
|
|
|
LOCAL_SHARED_LIBRARIES := libfolly_json
|
|
|
|
LOCAL_LDLIBS := -llog
|
|
|
|
LOCAL_CFLAGS := \
|
|
-DLOG_TAG=\"Fabric\"
|
|
|
|
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall -llog
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
$(call import-module,folly)
|