Skip to content

Commit

Permalink
make: Add patch to fix build error
Browse files Browse the repository at this point in the history
```
gcc -pthread   -g -O2 -Wl,--export-dynamic  -o make ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o getopt.o getopt1.o guile.o implicit.o job.o load.o loadapi.o main.o misc.o posixos.o output.o read.o remake.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o remote-stub.o glob/libglob.a -lguile -lgmp -lcrypt -lm -lltdl    -ldl
glob/libglob.a(glob.o): In function `glob_in_dir':
/dev/shm/bee-root/make/make-4.2.1-0/source/glob/glob.c:1367: undefined reference to `__alloca'
/dev/shm/bee-root/make/make-4.2.1-0/source/glob/glob.c:1342: undefined reference to `__alloca'
/dev/shm/bee-root/make/make-4.2.1-0/source/glob/glob.c:1283: undefined reference to `__alloca'
/dev/shm/bee-root/make/make-4.2.1-0/source/glob/glob.c:1256: undefined reference to `__alloca'
glob/libglob.a(glob.o): In function `glob':
/dev/shm/bee-root/make/make-4.2.1-0/source/glob/glob.c:581: undefined reference to `__alloca'
glob/libglob.a(glob.o):/dev/shm/bee-root/make/make-4.2.1-0/source/glob/glob.c:732: more undefined references to `__alloca' follow
collect2: error: ld returned 1 exit status
```

[1]: https://git.savannah.gnu.org/cgit/make.git/commit/?id=48c8a116a914a325a0497721f5d8b58d5bba34d4
[2]: https://lists.nongnu.org/archive/html/bug-make/2017-11/msg00027.html
  • Loading branch information
pmenzel committed May 11, 2018
1 parent 510caaa commit 5f4ed59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make.be0
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SRCURL[0]="https://ftp.gnu.org/gnu/make/make-${PKGVERSION}.tar.bz2"
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.

# PATCHURL+=()
PATCHURL+=(/src/mariux/patches/make-configure.patch)

###############################################################################
## Add filename patterns to the EXCLUDE array of files that should not
Expand Down

0 comments on commit 5f4ed59

Please sign in to comment.