]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Added export of TARGET_OS and BUILD_OS variables
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 2 Oct 2008 12:54:00 +0000 (12:54 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 2 Oct 2008 12:54:00 +0000 (12:54 +0000)
Not exporting these variables was a bug that caused ORTE not to compile
under Mingw.

darcs-hash:20081002125430-f2ef6-cd7e99062d403d69650839bfcba89c72237da96f.gz

snippets/linux

index e9c01a8ae0953ddb7c12445efc2b8356096213be..cbfe98192b39b15998c78c3b1d9de98b9ca5459d 100644 (file)
@@ -103,6 +103,9 @@ ifeq ($(TARGET_OS),)
   TARGET_OS := $(BUILD_OS)
 endif
 
+export TARGET_OS
+export BUILD_OS
+
 LOCAL_BUILD_DIR  = $(USER_OBJS_DIR)
 
 # Assign default values to CFLAGS variable. If the variable is defined