From: Elliott Hughes Date: Thu, 20 Aug 2015 17:16:40 +0000 (-0700) Subject: Kill host Linux AndroidConfig.h. X-Git-Tag: android-x86-7.1-r1~608^2~19^2~147^2~58^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e31dfe965f4b7f601beb009bd713fa4d9297db37;p=android-x86%2Fbuild.git Kill host Linux AndroidConfig.h. We only build 64-bit now anyway. Change-Id: I4bc9487522d215234509510bee66e4f210d86765 --- diff --git a/core/combo/HOST_linux-x86.mk b/core/combo/HOST_linux-x86.mk index 3acf7957f..5a918df47 100644 --- a/core/combo/HOST_linux-x86.mk +++ b/core/combo/HOST_linux-x86.mk @@ -38,7 +38,6 @@ endif # BUILD_HOST_static $(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -fPIC \ -no-canonical-prefixes \ - -include $(call select-android-config-h,linux-x86) $(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector diff --git a/core/combo/HOST_linux-x86_64.mk b/core/combo/HOST_linux-x86_64.mk index b74990b1f..13e1e8aac 100644 --- a/core/combo/HOST_linux-x86_64.mk +++ b/core/combo/HOST_linux-x86_64.mk @@ -35,10 +35,8 @@ ifneq ($(strip $(BUILD_HOST_static)),) HOST_GLOBAL_LDFLAGS += -static endif # BUILD_HOST_static -# TODO: Add AndroidConfig.h for linux-x86_64 HOST_GLOBAL_CFLAGS += -fPIC \ -no-canonical-prefixes \ - -include $(call select-android-config-h,linux-x86) HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector diff --git a/core/combo/include/arch/linux-x86/AndroidConfig.h b/core/combo/include/arch/linux-x86/AndroidConfig.h deleted file mode 100644 index b8e42172a..000000000 --- a/core/combo/include/arch/linux-x86/AndroidConfig.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2005 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * Android config -- "Linux". Used for desktop x86 Linux. - */ -#ifndef _ANDROID_CONFIG_H -#define _ANDROID_CONFIG_H - -/* - * =========================================================================== - * !!! IMPORTANT !!! - * =========================================================================== - * - * This file is included by ALL C/C++ source files. Don't put anything in - * here unless you are absolutely certain it can't go anywhere else. - * - * Any C++ stuff must be wrapped with "#ifdef __cplusplus". Do not use "//" - * comments. - */ - -/* - * We need to choose between 32-bit and 64-bit off_t. All of our code should - * agree on the same size. For desktop systems, use 64-bit values, - * because some of our libraries (e.g. wxWidgets) expect to be built that way. - */ -#define _FILE_OFFSET_BITS 64 -#define _LARGEFILE_SOURCE 1 - -#endif /*_ANDROID_CONFIG_H*/