Previous 199869 Revisions Next

r19909 Friday 28th December, 2012 at 22:14:59 UTC by R. Belmont
SDL: Autodetect Ubuntu 12.10 and work around faulty default compiler [R. Belmont]
[src/osd/sdl]sdl.mak

trunk/src/osd/sdl/sdl.mak
r19908r19909
416416   CCOMFLAGS += -Wno-narrowing -Wno-attributes
417417endif
418418
419# Ubuntu 12.10 GCC 4.7.2 autodetect
420ifeq ($(findstring 4.7.2-2ubuntu1,$(TEST_GCC)),4.7.2-2ubuntu1)
421GCC46TST = $(shell which g++-4.6 2>/dev/null)
422ifeq '$(GCC46TST)' ''
423    $(error Ubuntu 12.10 detected.  Please install the gcc-4.6 and g++-4.6 packages)
424endif
425CC = @gcc-4.6
426LD = @g++-4.6
427endif
428
419429#-------------------------------------------------
420430# Unix
421431#-------------------------------------------------

Previous 199869 Revisions Next


© 1997-2024 The MAME Team