Skip to content

Commit

Permalink
[System/build] Use the MOBILE_PROFILE conditional to define INSIDE_SY…
Browse files Browse the repository at this point in the history
…STEM.

(cherry picked from commit a3500da)
  • Loading branch information
Martin Baulig committed Oct 9, 2015
1 parent c74c647 commit 5348243
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions mcs/class/System/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ TEST_MCS_FLAGS += -r:System.Configuration

RESOURCE_STRINGS = ../../../external/referencesource/System/System.txt

ifeq (2.1, $(FRAMEWORK_VERSION))
LIB_MCS_FLAGS += -d:INSIDE_SYSTEM
endif

#
# MOBILE_PROFILE needs SECURITY_DEP, except for XAMMAC
#
ifdef MOBILE_PROFILE
ifneq ($(PROFILE),xammac)
LIB_MCS_FLAGS += -d:SECURITY_DEP
ifeq ($(PROFILE),xammac)
LIB_MCS_FLAGS += -d:INSIDE_SYSTEM
else
LIB_MCS_FLAGS += -d:INSIDE_SYSTEM -d:SECURITY_DEP
endif
endif

Expand Down

0 comments on commit 5348243

Please sign in to comment.