Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 526570 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-20 / +1 lines)
Line  Link Here
0
-- openttd-1.4.4/config.lib
0
++ openttd-1.4.4/config.lib
Lines 1450-1461 Link Here
1450
			CFLAGS="-I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations -mcpu=604 -fno-inline -mstring -mmultiple $CFLAGS"
1450
			CFLAGS="-I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations -mcpu=604 -fno-inline -mstring -mmultiple $CFLAGS"
1451
			LDFLAGS="$LDFLAGS -noixemul"
1451
			LDFLAGS="$LDFLAGS -noixemul"
1452
		fi
1452
		fi
1453
1454
		if [ "$enable_profiling" = "0" ]; then
1455
			# -fomit-frame-pointer and -pg do not go well together (gcc errors they are incompatible)
1456
			CFLAGS="-fomit-frame-pointer $CFLAGS"
1457
		fi
1458
		CFLAGS="-O2 $CFLAGS"
1459
	else
1453
	else
1460
		OBJS_SUBDIR="debug"
1454
		OBJS_SUBDIR="debug"
1461
1455
Lines 1466-1479 Link Here
1466
				CFLAGS="$CFLAGS -G0"
1460
				CFLAGS="$CFLAGS -G0"
1467
			fi
1461
			fi
1468
		fi
1462
		fi
1469
		if [ $enable_debug -ge 2 ]; then
1470
			CFLAGS="$CFLAGS -fno-inline"
1471
		fi
1472
		if [ $enable_debug -ge 3 ]; then
1473
			CFLAGS="$CFLAGS -O0"
1474
		else
1475
			CFLAGS="$CFLAGS -O2"
1476
		fi
1477
	fi
1463
	fi
1478
1464
1479
	if [ $enable_debug -le 2 ]; then
1465
	if [ $enable_debug -le 2 ]; then
Lines 1498-1508 Link Here
1498
		CFLAGS="$CFLAGS -fno-expensive-optimizations"
1484
		CFLAGS="$CFLAGS -fno-expensive-optimizations"
1499
	fi
1485
	fi
1500
1486
1501
	if [ "$enable_profiling" != "0" ]; then
1502
		CFLAGS="$CFLAGS -pg"
1503
		LDFLAGS="$LDFLAGS -pg"
1504
	fi
1505
1506
	if [ "$with_threads" = "0" ]; then
1487
	if [ "$with_threads" = "0" ]; then
1507
		CFLAGS="$CFLAGS -DNO_THREADS"
1488
		CFLAGS="$CFLAGS -DNO_THREADS"
1508
	fi
1489
	fi

Return to bug 526570