summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cerbero/main.py3
-rw-r--r--config/linux.config2
2 files changed, 2 insertions, 3 deletions
diff --git a/cerbero/main.py b/cerbero/main.py
index 51484b7..bf56422 100644
--- a/cerbero/main.py
+++ b/cerbero/main.py
@@ -44,9 +44,6 @@ description = N_('Build and package a set of modules to distribute them in '
class Main(object):
def __init__(self, args):
- if user_is_root():
- self.log_error(_("ERROR: cerbero can't be run as root"))
-
self.check_in_cerbero_shell()
self.init_logging()
self.create_parser()
diff --git a/config/linux.config b/config/linux.config
index 174a512..890a2a9 100644
--- a/config/linux.config
+++ b/config/linux.config
@@ -6,6 +6,8 @@
import os
from cerbero.config import Architecture
+prefix = '/opt/gstreamer-sdk'
+
for f in ['CFLAGS', 'CCASFLAGS', 'CXXFLAGS', 'LDFLAGS', 'OBJCFLAGS']:
os.environ[f] = os.environ.get(f, '')