Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 508238
Collapse All | Expand All

(-)file_not_specified_in_diff (-17 / +2 lines)
Line  Link Here
0
-- config.lib.orig
0
++ config.lib
Lines 1426-1451 Link Here
1426
			CFLAGS="-I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations -mcpu=604 -fno-inline -mstring -mmultiple $CFLAGS"
1426
			CFLAGS="-I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations -mcpu=604 -fno-inline -mstring -mmultiple $CFLAGS"
1427
			LDFLAGS="$LDFLAGS -noixemul"
1427
			LDFLAGS="$LDFLAGS -noixemul"
1428
		fi
1428
		fi
1429
1430
		CFLAGS="-O2 -fomit-frame-pointer $CFLAGS"
1431
	else
1429
	else
1432
		OBJS_SUBDIR="debug"
1430
		OBJS_SUBDIR="debug"
1433
1431
1434
		# Each debug level reduces the optimization by a bit
1432
		# Each debug level reduces the optimization by a bit
1435
		if [ $enable_debug -ge 1 ]; then
1433
		if [ $enable_debug -ge 1 ]; then
1436
			CFLAGS="$CFLAGS -g -D_DEBUG"
1434
			CFLAGS="-D_DEBUG $CFLAGS"
1437
			if [ "$os" = "PSP" ]; then
1435
			if [ "$os" = "PSP" ]; then
1438
				CFLAGS="$CFLAGS -G0"
1436
				CFLAGS="$CFLAGS -G0"
1439
			fi
1437
			fi
1440
		fi
1438
		fi
1441
		if [ $enable_debug -ge 2 ]; then
1442
			CFLAGS="$CFLAGS -fno-inline"
1443
		fi
1444
		if [ $enable_debug -ge 3 ]; then
1445
			CFLAGS="$CFLAGS -O0"
1446
		else
1447
			CFLAGS="$CFLAGS -O2"
1448
		fi
1449
	fi
1439
	fi
1450
1440
1451
	if [ $enable_debug -le 2 ]; then
1441
	if [ $enable_debug -le 2 ]; then
Lines 1466-1476 Link Here
1466
		CFLAGS="$CFLAGS -fno-expensive-optimizations"
1456
		CFLAGS="$CFLAGS -fno-expensive-optimizations"
1467
	fi
1457
	fi
1468
1458
1469
	if [ "$enable_profiling" != "0" ]; then
1470
		CFLAGS="$CFLAGS -p"
1471
		LDFLAGS="$LDFLAGS -pg"
1472
	fi
1473
1474
	if [ "$with_threads" = "0" ]; then
1459
	if [ "$with_threads" = "0" ]; then
1475
		CFLAGS="$CFLAGS -DNO_THREADS"
1460
		CFLAGS="$CFLAGS -DNO_THREADS"
1476
	fi
1461
	fi

Return to bug 508238