Displaying 6 results from an estimated 6 matches for "supermin_cflag".
Did you mean:
supermin_cflags
2014 Mar 03
2
[PATCH] supermin: Fix build with bytecode compiler
---
src/Makefile.am | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 7f99b8a..932881b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -104,17 +104,18 @@ supermin_CFLAGS = \
BOBJECTS = $(SOURCES_ML:.ml=.cmo)
XOBJECTS = $(SOURCES_ML:.ml=.cmx)
+OCAMLPACKAGES = -package unix,str
+OCAMLFLAGS = -warn-error CDEFLMPSUVXYZ
+
if !HAVE_OCAMLOPT
OBJECTS = $(BOBJECTS)
BEST = c
+OCAMLFLAGS += -custom
else
OBJECTS = $(XOBJECTS)
BEST = opt
endif
-OCAMLPACKAGES...
2017 Aug 23
0
[PATCH v2 supermin 1/1] Switch binary embedding to a C source
...efile.am
+++ b/src/Makefile.am
@@ -17,7 +17,7 @@
EXTRA_DIST = \
.depend \
- bin2s.pl \
+ bin2c.pl \
config.ml.in \
supermin.1 \
supermin.pod \
@@ -111,11 +111,13 @@ man_MANS = \
bin_PROGRAMS = supermin
supermin_SOURCES = $(SOURCES_C)
+nodist_supermin_SOURCES = format-ext2-init-bin.h
supermin_CFLAGS = \
-I$(shell $(OCAMLC) -where) \
$(EXT2FS_CFLAGS) $(COM_ERR_CFLAGS) $(LIBRPM_CFLAGS) \
-Wall $(WERROR_CFLAGS) \
-I$(top_srcdir)/lib -I../lib
+format-ext2-init-c.$(OBJEXT): format-ext2-init-bin.h
BOBJECTS = $(SOURCES_ML:.ml=.cmo)
XOBJECTS = $(SOURCES_ML:.ml=.cmx)
@@ -132,9 +134,9 @@ OB...
2017 Aug 23
2
[PATCH v2 supermin 0/1] Fix embedding of init
Hi,
this patch replaces the first simpler version:
https://www.redhat.com/archives/libguestfs/2017-August/msg00117.html
The approach now is to use a C snippet, which should pose way less
compatibility issues.
Thanks,
Pino Toscano (1):
Switch binary embedding to a C source
.gitignore | 2 +-
src/Makefile.am | 18 +++++++++---------
src/{bin2s.pl => bin2c.pl} |
2014 May 02
5
[PATCH 1/3] build: fix srcdir!=builddir builds
...ks the files
from all the places
---
src/Makefile.am | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 932881b..77aa611 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -99,7 +99,7 @@ supermin_SOURCES = $(SOURCES_C)
supermin_CFLAGS = \
-I$(shell $(OCAMLC) -where) \
$(EXT2FS_CFLAGS) $(COM_ERR_CFLAGS) \
- -I$(srcdir)/lib -I../lib
+ -I$(top_srcdir)/lib -I../lib
BOBJECTS = $(SOURCES_ML:.ml=.cmo)
XOBJECTS = $(SOURCES_ML:.ml=.cmx)
@@ -148,16 +148,16 @@ ext2init-bin.S: init
strip --strip-all $<
@file $< | grep -is...
2014 Sep 17
4
[PATCH 0/2] supermin: use librpm for rpm support
Hi,
this work makes supermin use the rpm library instead of invoking rpm
directly. This, together with a needed refactoring of the dependency
resolution, should help in make supermin faster on rpm-based systems.
Surely the patches will still need polishing, especially for behaviours
of newly added stuff, but at least it's a good starting point.
Noting that you need rpm-devel on most of rpm
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...\
+ ext2.ml \
+ build.ml \
supermin.ml
+SOURCES_C = \
+ ext2fs-c.c \
+ ext2init-c.c \
+ fnmatch-c.c \
+ glob-c.c \
+ realpath-c.c
+
CLEANFILES = *~ *.cmi *.cmo *.cmx *.o supermin
man_MANS = \
supermin.1
-bin_SCRIPTS = supermin
+bin_PROGRAMS = supermin
+
+supermin_SOURCES = $(SOURCES_C)
+supermin_CFLAGS = \
+ -I$(shell $(OCAMLC) -where) \
+ $(EXT2FS_CFLAGS) $(COM_ERR_CFLAGS)
BOBJECTS = $(SOURCES_ML:.ml=.cmo)
XOBJECTS = $(SOURCES_ML:.ml=.cmx)
@@ -93,14 +107,17 @@ BEST = opt
endif
OCAMLPACKAGES = -package unix,str
-if HAVE_OCAML_INIFILES
-OCAMLPACKAGES += -package inifiles
-endif
OCAMLF...