summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Sec
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-11 03:08:47 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-11 03:08:47 +0000
commit7e9f4e1d8e0b0d145c3a91fdbfb349adb5f084e0 (patch)
tree86bfb92dc8def5849a9b6ce97cf410ac55ca864d /EdkUnixPkg/Sec
parent2074c9cfbdeb8157d59253dce943f15ddf7d640a (diff)
downloadedk2-platforms-7e9f4e1d8e0b0d145c3a91fdbfb349adb5f084e0.tar.xz
Merge the patch provided by Johnson
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2555 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg/Sec')
-rw-r--r--EdkUnixPkg/Sec/SecMain.c5
-rw-r--r--EdkUnixPkg/Sec/SecMain_build.xml4
2 files changed, 6 insertions, 3 deletions
diff --git a/EdkUnixPkg/Sec/SecMain.c b/EdkUnixPkg/Sec/SecMain.c
index 72fad08e64..04df255277 100644
--- a/EdkUnixPkg/Sec/SecMain.c
+++ b/EdkUnixPkg/Sec/SecMain.c
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2007 Intel Corporation.
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -173,6 +173,9 @@ Returns:
CHAR16 *MemorySizeStr;
CHAR16 *FirmwareVolumesStr;
+ setbuf(stdout, 0);
+ setbuf(stderr, 0);
+
MemorySizeStr = (CHAR16 *)PcdGetPtr (PcdUnixMemorySizeForSecMain);
FirmwareVolumesStr = (CHAR16 *)PcdGetPtr (PcdUnixFirmwareVolume);
diff --git a/EdkUnixPkg/Sec/SecMain_build.xml b/EdkUnixPkg/Sec/SecMain_build.xml
index c1a5caf267..db5ae8db94 100644
--- a/EdkUnixPkg/Sec/SecMain_build.xml
+++ b/EdkUnixPkg/Sec/SecMain_build.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<!--
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2007 Intel Corporation.
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -131,7 +131,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<shellscript shell="sh" tmpsuffix=".cmd" >
set -v
- gcc -Wl,--start-group ${LIBS} -Wl,--end-group -o ${BIN_DIR}/SecMain.exe -L/usr/X11R6/lib -lXext -lX11
+ gcc -m32 -Wl,--start-group ${LIBS} -Wl,--end-group -o ${BIN_DIR}/SecMain.exe -L/usr/X11R6/lib -lXext -lX11
</shellscript>
</sequential>
</OnDependency>