Magellan Linux

Diff of /smage/trunk/core/grub/grub-2.04-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 14271 by niro, Tue Jul 7 14:05:43 2020 UTC revision 14272 by niro, Tue Jul 7 14:18:15 2020 UTC
# Line 56  UP2DATE="updatecmd_gnu ${PNAME} gz" Line 56  UP2DATE="updatecmd_gnu ${PNAME} gz"
56  # and do you really want that at your bootloader ??  # and do you really want that at your bootloader ??
57  unset CFLAGS  unset CFLAGS
58  unset CXXFLAGS  unset CXXFLAGS
59    unset CPPFLAGS
60    unset LDFLAGS
61    unset MAKEFLAGS
62    
63  src_prepare()  src_prepare()
64  {  {
# Line 80  src_compile() Line 83  src_compile()
83  {  {
84   cd ${SRCDIR}   cd ${SRCDIR}
85    
86   # unset all compiler flags   local myarch
87   unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MAKEFLAGS   local myopts
88    
89   # bios build   # no efiemi on x86
90   mconfigure --disable-efiemu --disable-werror --disable-nls || die   case ${ARCH} in
91     x86_64) myopts+=" --enable-efiemu" ;;
92     i*86) myopts+=" --disable-efiemu" ;;
93     esac
94    
95     # disable werror
96     myopts+=" --disable-werror"
97    
98     # enable boot time statistics collection
99     myopts+=" --enable-boot-time"
100    
101     # alx
102     myopts+=" --disable-nls"
103    
104     # bios build, enforce i386
105     myarch="i386"
106     ../configure --with-platform=pc --target="${myarch}" ${myopts} || die
107   mmake || die   mmake || die
108  }  }
109    

Legend:
Removed from v.14271  
changed lines
  Added in v.14272