Index: trunk/tests/render_test/premake4.lua
===================================================================
--- trunk/tests/render_test/premake4.lua	(revision 53)
+++ trunk/tests/render_test/premake4.lua	(revision 61)
@@ -1,2 +1,12 @@
+if _ACTION == nil then
+	print "Error! You must specify target build"
+	print "Example: ./premake4 gmake"
+	print "    This will create makefiles for Linux"
+	print ""
+	print "Aborting!"
+	print ""
+	return
+end
+
 solution "nv_render_test"
 	configurations { "debug", "release" }
@@ -4,4 +14,11 @@
   	language "C++"
 	flags { "ExtraWarnings", "NoPCH" }
+
+	-- For starters, check the target build.
+	-- If this is a gmake build we must add these
+	-- flags to enable C++11 support.
+	if _ACTION == "gmake" then
+		buildoptions "-std=c++11"
+	end
 
 	configuration "debug"
