Commits

Jason Perkins committed 5d5d7af

Patch 3466877: Removed -flat_namespace from Mac OS X flags (Konstantin Tokarev)

Comments (0)

Files changed (3)

 * Patch 3367642: Add support for targetextension property to Xcode
 * Patch 3435716: Fix for PS3 config generation in VS2010 (Jake)
 * Patch 3441850: Use debug.traceback() as error handler (Konstantin Tokarev)
+* Patch 3462994: Make flag values case-insensitive (Konstantin Tokarev)
+* Patch 3466877: Removed -flat_namespace from Mac OS X flags (Konstantin Tokarev)
 
 
 -------
 		
 		if cfg.kind == premake.SHAREDLIB then
 			if cfg.system == premake.MACOSX then
-				flags = table.join(flags, { "-dynamiclib", "-flat_namespace" })
+				table.insert(flags, "-dynamiclib")
 			else
 				table.insert(flags, "-shared")
 			end
 	
 		if cfg.kind == "SharedLib" then
 			if cfg.system == "macosx" then
-				result = table.join(result, { "-dynamiclib", "-flat_namespace" })
+				table.insert(result, "-dynamiclib")
 			else
 				table.insert(result, "-shared")
 			end

tests/tools/test_gcc.lua

 		system "MacOSX"
 		kind "SharedLib"
 		prepare()
-		test.isequal({ "-Wl,-x", "-dynamiclib", "-flat_namespace" }, gcc.getldflags(cfg))
+		test.isequal({ "-Wl,-x", "-dynamiclib" }, gcc.getldflags(cfg))
 	end