Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:zSystems
bam
bam-0.5.1-fix-compilation-order.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bam-0.5.1-fix-compilation-order.patch of Package bam
From d792fa2d1ab54971db2a85f0363b7bce80e68b9c Mon Sep 17 00:00:00 2001 From: Antoine Belvire <antoine.belvire@opensuse.org> Date: Mon, 16 Apr 2018 12:57:22 +0200 Subject: [PATCH] Fix compilation issue when using Makefile The compilation output depends on the order of the TXT2C_LUA files. For example if tools.lua is listed before base.lua, this leads to incomplete compilation. This commit hardcodes the order of lua files in Makefile like it's done in make_unix.sh. Fixes #116. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d804874..4f8acf9 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ CFLAGS += $(LUA_CFLAGS) # objects TARGETS = bam BAM_OBJ = $(patsubst %.c,%.o,$(wildcard src/*.c)) -TXT2C_LUA = $(wildcard src/*.lua) +TXT2C_LUA = src/base.lua src/tools.lua src/driver_gcc.lua src/driver_clang.lua src/driver_cl.lua src/driver_solstudio.lua src/driver_xlc.lua # make rules -- 2.16.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor